Ignore:
Timestamp:
Jan 12, 2021, 10:29:50 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Setup is now AppModule and it is installed and stated as first module.
  • Modified: Improved modular system.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/Application.php

    r887 r895  
    6565  function GetModule(string $Name): AppModule
    6666  {
    67     return $this->ModuleManager->Modules[$Name];
     67    if (array_key_exists($Name, $this->ModuleManager->Modules))
     68      return $this->ModuleManager->Modules[$Name];
     69      else return null;
    6870  }
    6971
Note: See TracChangeset for help on using the changeset viewer.