Changeset 424 for branches/Modular/Common/Global.php
- Timestamp:
- Oct 10, 2012, 9:29:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Modular/Common/Global.php
r405 r424 27 27 include_once('Localization.php'); 28 28 include_once('Navigation.php'); 29 29 include_once('Modules/System/System.php'); 30 30 31 31 32 class System extends ModularSystem … … 50 51 global $Config; 51 52 52 return($ Config['Web']['RootFolder'].$Target);53 return($this->RootFolder.$Target); 53 54 } 54 55 } 56 57 $System = NULL; 55 58 56 59 function GlobalInit() … … 79 82 $System->Localization->Load(); 80 83 $System->Navigation = new Navigation(); 84 85 //if(!$System->IsInstalled()) die('System not installed.'); 86 $ModuleSystem = new ModuleSystem($System->Database, $System); 87 $System->RegisterModule($ModuleSystem); 88 if($System->Modules['System']->IsInstalled()) $System->Modules['System']->Start(); 81 89 } 82 90
Note:
See TracChangeset
for help on using the changeset viewer.