Changeset 897 for trunk/Application/Core.php
- Timestamp:
- Jan 22, 2021, 12:04:30 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Core.php
r896 r897 140 140 RegisterFormClasses($this->FormManager); 141 141 142 $this->ModuleManager->Start(); 142 $this->StartModules(); 143 } 144 145 function StartModules(): void 146 { 147 $ModuleSetup = $this->ModuleManager->LoadModule(dirname(__FILE__).'/Modules/Setup.php'); 148 $ModuleSetup->Install(); 149 $ModuleSetup->Start(); 150 $this->ModuleManager->LoadModules(); 151 $this->ModuleManager->LoadModule(dirname(__FILE__).'/Modules/ModuleManager.php'); 152 if (file_exists($this->ModuleManager->FileName)) $this->ModuleManager->LoadState(); 153 $this->ModuleManager->StartAll(array(ModuleCondition::Enabled)); 143 154 } 144 155
Note:
See TracChangeset
for help on using the changeset viewer.