add more error checking when including extensions.php

This commit is contained in:
Uwe Steinmann 2023-02-17 06:57:42 +01:00
parent bcd0977803
commit 3e5497a7fd

View File

@ -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;
}
}
}
} /* }}} */