diff --git a/inc/inc.Extension.php b/inc/inc.Extension.php index ceb491587..b0e915333 100644 --- a/inc/inc.Extension.php +++ b/inc/inc.Extension.php @@ -37,7 +37,7 @@ foreach($EXT_CONF as $extname=>$extconf) { include($classfile); $obj = new $extconf['class']['name']; if(method_exists($obj, 'init')) - $obj->init(); + $obj->init(isset($settings->_extensions[$extname]) ? $settings->_extensions[$extname] : null); } if(isset($extconf['language']['file'])) { $langfile = $settings->_rootDir."/ext/".$extname."/".$extconf['language']['file'];