mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-16 14:41:39 +00:00
check for settings.xml in conf dir not just the conf dir
This commit is contained in:
parent
3a81d22e8b
commit
54d4ebf872
|
@ -1206,7 +1206,7 @@ class Settings { /* {{{ */
|
||||||
$configDir = null;
|
$configDir = null;
|
||||||
/* new code starts here */
|
/* new code starts here */
|
||||||
while($_arr && !$configDir) {
|
while($_arr && !$configDir) {
|
||||||
if(file_exists(implode('/', $_arr)."/conf/"))
|
if(file_exists(implode('/', $_arr)."/conf/settings.xml"))
|
||||||
$configDir = implode('/', $_arr)."/conf/";
|
$configDir = implode('/', $_arr)."/conf/";
|
||||||
else
|
else
|
||||||
array_pop($_arr);
|
array_pop($_arr);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user