Changeset 139 for trunk/Application
- Timestamp:
- Sep 9, 2022, 9:41:42 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UWebSession.pas
r138 r139 9 9 10 10 type 11 11 12 { TWebSession } 12 13 … … 25 26 BaseURL: string; 26 27 ModuleManager: TModuleManager; 28 procedure PageNotFound; 27 29 procedure InitDatabase; 28 30 constructor Create; override; … … 38 40 UCore, UModuleSystem, UModuleZdechovNET, UModuleUser, UPageAdmin, UModuleTV, 39 41 UModuleFinance, UModuleNetwork, UModulePortal, UModuleIS, UModuleBase, 40 UModuleNews ;42 UModuleNews, UPageNotFound; 41 43 42 44 resourcestring … … 187 189 end; 188 190 191 procedure TWebSession.PageNotFound; 192 var 193 Page: TPageNotFound; 194 begin 195 Page := TPageNotFound.Create(nil); 196 try 197 if Assigned(Page.OnProduce) then 198 Page.OnProduce(Self); 199 finally 200 Page.Free; 201 end; 202 end; 203 189 204 190 205 end.
Note:
See TracChangeset
for help on using the changeset viewer.