mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix #901 : allow upgrade from Phraseanet 3.1
This commit is contained in:
@@ -53,8 +53,12 @@ class patch_320aa implements patchInterface
|
||||
|
||||
public function apply(base &$appbox)
|
||||
{
|
||||
if (is_file(__DIR__ . '/../../../config/_GV.php'))
|
||||
if (is_file(__DIR__ . '/../../../config/_GV.php')) {
|
||||
require __DIR__ . '/../../../config/_GV.php';
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
require __DIR__ . '/../../../lib/conf.d/_GV_template.inc';
|
||||
|
||||
define('GV_STATIC_URL', '');
|
||||
|
Reference in New Issue
Block a user