|
|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
// ===================================
|
|
|
// Define Version
|
|
|
- define('INSTALLEDVERSION', '1.80');
|
|
|
+ define('INSTALLEDVERSION', '1.90');
|
|
|
// ===================================
|
|
|
$debugOrganizr = true;
|
|
|
if($debugOrganizr == true && file_exists('debug.php')){ require_once('debug.php'); }
|
|
|
@@ -124,7 +124,7 @@ if (function_exists('ldap_connect')) :
|
|
|
writeLog("success", "LDAP authentication success");
|
|
|
return true;
|
|
|
} else {
|
|
|
- writeLog("error", "LDPA could not authenticate");
|
|
|
+ writeLog("error", "LDAP could not authenticate");
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
@@ -648,7 +648,7 @@ function resolveEmbyItem($address, $token, $item, $nowPlaying = false, $showName
|
|
|
}else{
|
|
|
$URL = EMBYURL."/web/itemdetails.html?id=".$itemDetails['Id'];
|
|
|
}*/
|
|
|
- $URL = EMBYURL."/web/itemdetails.html?id=".$itemDetails['Id'];
|
|
|
+ $URL = EMBYURL."/web/#!/itemdetails.html?id=".$itemDetails['Id'];
|
|
|
switch ($itemDetails['Type']) {
|
|
|
case 'Episode':
|
|
|
case 'Series':
|
|
|
@@ -2549,7 +2549,16 @@ function deleteDatabase() {
|
|
|
}
|
|
|
|
|
|
// Upgrade the installation
|
|
|
-function upgradeInstall($branch = 'master') {
|
|
|
+function upgradeInstall($branch = 'v1-master') {
|
|
|
+ if ($branch == 'master'){
|
|
|
+ $branch = 'v1-master';
|
|
|
+ }
|
|
|
+ if ($branch == 'develop'){
|
|
|
+ $branch = 'v1-develop';
|
|
|
+ }
|
|
|
+ if ($branch == 'cero-dev'){
|
|
|
+ $branch = 'v1-develop';
|
|
|
+ }
|
|
|
function downloadFile($url, $path){
|
|
|
ini_set('max_execution_time',0);
|
|
|
$folderPath = "upgrade/";
|