Changeset 896 for trunk/Packages/Common
- Timestamp:
- Jan 14, 2021, 7:38:26 PM (4 years ago)
- Location:
- trunk/Packages/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/AppModule.php
r895 r896 53 53 public array $Dependencies; 54 54 public Database $Database; 55 public Application$System;55 public System $System; 56 56 public AppModuleManager $Manager; 57 57 public $OnChange; -
trunk/Packages/Common/Setup.php
r895 r896 425 425 function DoStart(): void 426 426 { 427 $this->System->RegisterPage([''], 'PageSetupRedirect');428 $this->System->RegisterPage(['setup'], 'PageSetup');429 $this->System->RegisterPage(['setup', 'modules'], 'PageSetupModules');427 Core::Cast($this->System)->RegisterPage([''], 'PageSetupRedirect'); 428 Core::Cast($this->System)->RegisterPage(['setup'], 'PageSetup'); 429 Core::Cast($this->System)->RegisterPage(['setup', 'modules'], 'PageSetupModules'); 430 430 } 431 431 … … 433 433 { 434 434 unset($this->UpdateManager); 435 $this->System->UnregisterPage(['']);436 $this->System->UnregisterPage(['setup']);437 $this->System->UnregisterPage(['setup', 'modules']);435 Core::Cast($this->System)->UnregisterPage(['']); 436 Core::Cast($this->System)->UnregisterPage(['setup']); 437 Core::Cast($this->System)->UnregisterPage(['setup', 'modules']); 438 438 } 439 439
Note:
See TracChangeset
for help on using the changeset viewer.