mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
always include extension file, even when is was just created
This commit is contained in:
parent
1bd43e2838
commit
40678c325f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user