always include extension file, even when is was just created

This commit is contained in:
Uwe Steinmann 2013-05-03 11:40:47 +02:00
parent 1bd43e2838
commit 40678c325f

View File

@ -16,11 +16,10 @@ require_once "inc.ClassExtBase.php";
$extMgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir);
$extconffile = $extMgr->getExtensionsConfFile();
if(file_exists($extconffile)) {
include($extconffile);
} else {
if(!file_exists($extconffile)) {
$extMgr->createExtensionConf();
}
include($extconffile);
foreach($EXT_CONF as $extname=>$extconf) {
if(!isset($extconf['disable']) || $extconf['disable'] == false) {