mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
add more error checking when including extensions.php
This commit is contained in:
parent
bcd0977803
commit
3e5497a7fd
|
@ -122,9 +122,10 @@ class SeedDMS_Extension_Mgr {
|
||||||
if(!file_exists($this->getExtensionsConfFile())) {
|
if(!file_exists($this->getExtensionsConfFile())) {
|
||||||
$this->createExtensionConf();
|
$this->createExtensionConf();
|
||||||
}
|
}
|
||||||
include($this->getExtensionsConfFile());
|
if(@include($this->getExtensionsConfFile())) {
|
||||||
if(!empty($EXT_CONF)) {
|
if(!empty($EXT_CONF)) {
|
||||||
$this->extconf = $EXT_CONF;
|
$this->extconf = $EXT_CONF;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user