Changeset 592 for trunk/Application/System.php
- Timestamp:
- Nov 2, 2013, 7:56:09 PM (11 years ago)
- Location:
- trunk/Application
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/System.php
r590 r592 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/Application.php'); 4 include_once(dirname(__FILE__).'/Global.php'); 3 include_once(dirname(__FILE__).'/../Common/Application.php'); 4 include_once(dirname(__FILE__).'/Version.php'); 5 include_once(dirname(__FILE__).'/../Common/Global.php'); 6 include_once(dirname(__FILE__).'/FormClasses.php'); 5 7 6 8 class System extends Application … … 17 19 var $RootURLFolder; 18 20 var $ShowPage; 21 var $Setup; 19 22 20 23 function __construct() … … 145 148 146 149 // Register and start existing modules 147 include_once(dirname(__FILE__).'/../Modules/Setup/Setup.php'); 148 $this->ModuleManager->RegisterModule(new ModuleSetup($this)); 149 $this->ModuleManager->Modules['Setup']->Installed = true; 150 $this->ModuleManager->Modules['Setup']->Start(); 151 if($this->ModuleManager->Modules['Setup']->CheckState()) 150 $this->Setup = new Setup($this); 151 $this->Setup->Start(); 152 if($this->Setup->CheckState()) 152 153 { 153 $this->ModuleManager->LoadModules(); 154 $this->ModuleManager->Modules['Setup']->Installed = true; 155 $this->ModuleManager->Modules['Setup']->Start(); 156 $this->ModuleManager->StartAll(); 154 $this->ModuleManager->Start(); 157 155 } 158 156 if($this->ShowPage)
Note:
See TracChangeset
for help on using the changeset viewer.