mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Merge 3.7
This commit is contained in:
@@ -58,12 +58,12 @@ class module_console_systemUpgrade extends Command
|
||||
|
||||
if ($continue == 'y') {
|
||||
try {
|
||||
$connexionInc = new \SplFileInfo($old_connexion_file, true);
|
||||
$configInc = new \SplFileInfo($old_config_file, true);
|
||||
$connexionInc = new \SplFileInfo($old_connexion_file);
|
||||
$configInc = new \SplFileInfo($old_config_file);
|
||||
|
||||
$Core->getConfiguration()->upgradeFromOldConf($configInc, $connexionInc);
|
||||
} catch (\Exception $e) {
|
||||
|
||||
throw new RuntimeException('Error while upgrading : ' . $e->getMessage());
|
||||
}
|
||||
} else {
|
||||
throw new RuntimeException('Phraseanet is not set up');
|
||||
|
Reference in New Issue
Block a user