Changeset 50 for trunk/CGI.lpr
- Timestamp:
- Apr 30, 2011, 10:56:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CGI.lpr
r48 r50 5 5 uses 6 6 UCore, USqlDatabase, SysUtils, Contnrs, 7 UMainPage, U CustomApplication, UUser, UHTTPSessionMySQL, UHTTPSessionFile,7 UMainPage, UUser, UHTTPSessionMySQL, UHTTPSessionFile, 8 8 UCommon, UHTTPServer, UHTTPServerTCP, UHTTPServerCGI, UTCPServer, UPool, 9 UMemoryStreamEx, UMIMEType, UPageList, Interfaces; 10 11 var 12 Application: TCustomApplication; 9 UMemoryStreamEx, UMIMEType, UPageList, Interfaces, UMainModule; 13 10 14 11 begin 15 Application := TCustomApplication.Create;16 with Applicationdo12 MainModule := TMainModule.Create(nil); 13 with MainModule do 17 14 try 18 15 RegisterPage('internet', Internet); … … 29 26 RegisterPage('sit', Network); 30 27 RegisterPage('', About); 31 HTTPServer := THTTPServerCGI.Create;32 HTTPServer.OnRequest := Execute;33 28 Run; 34 29 finally
Note:
See TracChangeset
for help on using the changeset viewer.