mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	pass extension config to init() of extension
This commit is contained in:
		
							parent
							
								
									2b62fbcc1b
								
							
						
					
					
						commit
						ed48285da5
					
				|  | @ -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']; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann