File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Config {
26
26
protected static $ userConfigDirClean = "config " ;
27
27
protected static $ userConfigDirDash = "_config " ;
28
28
protected static $ userConfigPath = "" ;
29
- protected static $ plConfigPath = "../../ config/config.yml.default " ;
29
+ protected static $ plConfigPath = "config/config.yml.default " ;
30
30
protected static $ dirAdded = false ;
31
31
32
32
/**
@@ -105,7 +105,7 @@ public static function init($baseDir = "", $verbose = true) {
105
105
self ::$ userConfigDirDash = self ::$ options ["baseDir " ].self ::$ userConfigDirDash ;
106
106
self ::$ userConfigDir = (is_dir (self ::$ userConfigDirDash )) ? self ::$ userConfigDirDash : self ::$ userConfigDirClean ;
107
107
self ::$ userConfigPath = self ::$ userConfigDir .DIRECTORY_SEPARATOR .self ::$ userConfig ;
108
- self ::$ plConfigPath = __DIR__ . DIRECTORY_SEPARATOR .self ::$ plConfigPath ;
108
+ self ::$ plConfigPath = self :: $ options [ " baseDir " ] .self ::$ plConfigPath ;
109
109
self ::$ dirAdded = true ;
110
110
111
111
// just in case the config directory doesn't exist at all
You can’t perform that action at this time.
0 commit comments