mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +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())) {
|
||||
$this->createExtensionConf();
|
||||
}
|
||||
include($this->getExtensionsConfFile());
|
||||
if(!empty($EXT_CONF)) {
|
||||
$this->extconf = $EXT_CONF;
|
||||
if(@include($this->getExtensionsConfFile())) {
|
||||
if(!empty($EXT_CONF)) {
|
||||
$this->extconf = $EXT_CONF;
|
||||
}
|
||||
}
|
||||
}
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user