mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
pass extension mgr to init() of extension
This commit is contained in:
parent
fa66cb8332
commit
3aca89e174
|
@ -48,7 +48,7 @@ foreach($extMgr->getExtensionConfiguration() as $extname=>$extconf) {
|
|||
include($classfile);
|
||||
$obj = new $extconf['class']['name']($settings, null, $logger);
|
||||
if(method_exists($obj, 'init'))
|
||||
$obj->init();
|
||||
$obj->init($extMgr);
|
||||
}
|
||||
}
|
||||
if(isset($extconf['language']['file'])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user