Changeset 105 for trunk/Modules/IS/UModuleIS.pas
- Timestamp:
- Oct 9, 2012, 1:58:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/UModuleIS.pas
r102 r105 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary, USqlDatabase; 8 Classes, SysUtils, UModularSystem, SpecializedDictionary, USqlDatabase, 9 UModuleBase; 9 10 10 11 type … … 15 16 private 16 17 public 18 ModuleBase: TModuleBase; 17 19 constructor Create(Owner: TComponent); override; 18 20 destructor Destroy; override; … … 40 42 License := 'GNU/LGPL v3'; 41 43 Author := 'Chronosoft'; 44 Dependencies.Add('Base'); 42 45 end; 43 46 … … 49 52 procedure TModuleIS.Start; 50 53 begin 51 Core.Pages.RegisterPage(TWebPagePortal, WebPagePortal, 'portal'); 52 inherited; 54 BeforeStart; 55 ModuleBase := TModuleBase(Manager.FindModuleByName('Base')); 56 //ModuleBase.Pages.RegisterPage(TWebPagePortal, WebPagePortal, 'portal'); 57 AfterStart; 53 58 end; 54 59 55 60 procedure TModuleIS.Stop; 56 61 begin 57 inherited; 58 Core.Pages.UnregisterPage('portal'); 62 BeforeStop; 63 //ModuleBase.Pages.UnregisterPage('portal'); 64 ModuleBase := nil; 65 AfterStop; 59 66 end; 60 67
Note:
See TracChangeset
for help on using the changeset viewer.