Kaynağa Gözat

Merge pull request #256 from causefx/cero-dev

Quick Fixes
causefx 9 yıl önce
ebeveyn
işleme
997b935aaa
3 değiştirilmiş dosya ile 2 ekleme ve 8 silme
  1. 1 1
      functions.php
  2. 0 6
      updatedb.php
  3. 1 1
      user.php

+ 1 - 1
functions.php

@@ -466,7 +466,7 @@ function resolvePlexItem($server, $token, $item) {
 	}
 	
 	// Assemble Item And Cache Into Array 
-	return '<div class="item"><a href="'.$address.'" target="_blank"><img alt="'.$item['Name'].'" class="'.$image.'" src="image.php?a=plex-image&img='.$item['thumb'].'&height='.$height.'&width='.$width.'"></a><div class="carousel-caption" style="'.$style.'"><h4>'.$title.'</h4><small><em>'.$summary.'</em></small></div></div>';
+	return '<div class="item"><a href="'.$address.'" target="_blank"><img alt="'.$item['Name'].'" class="'.$image.'" src="ajax.php?a=plex-image&img='.$item['thumb'].'&height='.$height.'&width='.$width.'"></a><div class="carousel-caption" style="'.$style.'"><h4>'.$title.'</h4><small><em>'.$summary.'</em></small></div></div>';
 }
 
 // Create Carousel

+ 0 - 6
updatedb.php

@@ -7,12 +7,6 @@ $data = false;
 ini_set("display_errors", 1);
 ini_set("error_reporting", E_ALL | E_STRICT);
 
-function registration_callback($username, $email, $userdir)
-{
-    global $data;
-    $data = array($username, $email, $userdir);
-}
-
 require_once("user.php");
 $USER = new User("registration_callback");
 

+ 1 - 1
user.php

@@ -12,7 +12,7 @@
 	require_once('functions.php');
 	
 	// Define Version
-	 define('INSTALLEDVERSION', '1.32');
+	 define('INSTALLEDVERSION', '1.321');
 	 
     // Autoload frameworks
 	require_once(__DIR__ . '/vendor/autoload.php');