fixed #2116; needs testing
This commit is contained in:
parent
1a35e8d6b8
commit
8ea66df5c9
|
@ -443,6 +443,14 @@ if [ "$storage_is_local" = "yes" ]; then
|
|||
fi
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Update the database, if necessary
|
||||
#-------------------------------------------------------------------------------
|
||||
if [ "$storage_is_local" = "yes" ]; then
|
||||
php -q $install_var_ls/storageServer/var/install/upgrade/upgrade.php
|
||||
fi
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Say goodbye
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
|
@ -26,9 +26,9 @@ echo "**********************************\n";
|
|||
echo "* StorageServer Upgrade to 1.2.0 *\n";
|
||||
echo "**********************************\n";
|
||||
|
||||
require_once('../../conf.php');
|
||||
require_once("../installInit.php");
|
||||
require_once("../../StoredFile.php");
|
||||
require_once(dirname(__FILE__).'/../../conf.php');
|
||||
require_once(dirname(__FILE__)."/../installInit.php");
|
||||
require_once(dirname(__FILE__)."/../../StoredFile.php");
|
||||
|
||||
// Check to see if upgrade has already been applied
|
||||
$sql = "SELECT md5 FROM ".$CC_CONFIG['filesTable']." LIMIT 1";
|
||||
|
@ -80,4 +80,4 @@ echo "*******************************************\n";
|
|||
echo "* StorageServer Upgrade to 1.2.0 Complete *\n";
|
||||
echo "*******************************************\n";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
upgrade-to-1.2.0.php
|
Loading…
Reference in New Issue