diff --git a/core/Config.php b/core/Config.php index 8e4cad83595a426d85ca06b313716cd21297513a..44af08de23d6bcd66878301e63e4b2a2dabc1481 100644 --- a/core/Config.php +++ b/core/Config.php @@ -116,9 +116,9 @@ class Config extends Singleton $this->clear(); - $this->pathLocal = $pathLocal ?: $this->pathLocal; - $this->pathGlobal = $pathGlobal ?: $this->pathGlobal; - $this->pathCommon = $pathCommon ?: $this->pathCommon; + $this->pathLocal = $pathLocal ?: Config::getLocalConfigPath(); + $this->pathGlobal = $pathGlobal ?: Config::getGlobalConfigPath(); + $this->pathCommon = $pathCommon ?: Config::getCommonConfigPath(); $this->init();