[Phpcms-plugins-cvs] admin4phpCMS/include class.framework.php,1.9,1.10
Brought to you by:
mjahn
From: Martin J. <mj...@us...> - 2005-05-26 15:56:24
|
Update of /cvsroot/phpcms-plugins/admin4phpCMS/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19290/include Modified Files: class.framework.php Log Message: beginning of phpcms-content and filemanager Index: class.framework.php =================================================================== RCS file: /cvsroot/phpcms-plugins/admin4phpCMS/include/class.framework.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- class.framework.php 7 Apr 2005 14:09:09 -0000 1.9 +++ class.framework.php 26 May 2005 15:55:31 -0000 1.10 @@ -34,6 +34,9 @@ /* * $Log$ +* Revision 1.10 2005/05/26 15:55:31 mjahn +* beginning of phpcms-content and filemanager +* * Revision 1.9 2005/04/07 14:09:09 mjahn * Commit as backup during development * @@ -113,22 +116,9 @@ $actiondata = array ('eventname'=>'DISPLAY', 'eventaction'=>'doDisplay'); $this->eventhandler->event ('REGISTER_EVENT', $actiondata); - // load the configuration module - // this is done hardcoded because of the configuration module - $actiondata = array ('filename'=>dirname(__FILE__).'/../modules/config/class.module_config.php', 'class'=>'module_config'); - $this->eventhandler->event ('LOAD_MODULE', $actiondata); - - // parse the configuration file - $actiondata = array (); - $this->eventhandler->event ('CONFIG_READ', $actiondata); - - // get configuration data with the modules to load - $actiondata = array (); - $this->eventhandler->event ('CONFIG_GET', $actiondata); - $config =& $actiondata['config']; - - // load all the needed modules + // read the modules.ini file and load the modules $moduledir = realpath (dirname (__FILE__).'/../modules/'); + $config = parse_ini_file ($moduledir.'/modules.ini', true); foreach ($config as $id=>$module) { // calculate the path to the module file |