forked from ZwiiCMS-Team/ZwiiCampus
1.7.09 bug double slash initDB
This commit is contained in:
parent
0c94b2f546
commit
04f4c7be6d
@ -675,7 +675,7 @@ class common
|
|||||||
// Constructeur JsonDB;
|
// Constructeur JsonDB;
|
||||||
$this->dataFiles[$module] = new \Prowebcraft\JsonDb([
|
$this->dataFiles[$module] = new \Prowebcraft\JsonDb([
|
||||||
'name' => $module . '.json',
|
'name' => $module . '.json',
|
||||||
'dir' => self::DATA_DIR . $path . '/',
|
'dir' => empty($path) ? self::DATA_DIR : self::DATA_DIR . $path . '/',
|
||||||
'backup' => file_exists('site/data/.backup')
|
'backup' => file_exists('site/data/.backup')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user