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