Changeset 62 for trunk/Modules
- Timestamp:
- Dec 19, 2011, 9:33:21 AM (13 years ago)
- Location:
- trunk/Modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/UMainModule.lfm
r54 r62 9 9 Timeout = 10800 10 10 SessionIdCookieName = 'SessionId' 11 left = 3 1212 top = 3 111 left = 304 12 top = 32 13 13 end 14 14 object Database: TSqlDatabase 15 15 Connected = False 16 Port = 3306 16 17 Encoding = 'utf8' 17 18 left = 81 -
trunk/Modules/UMainModule.lrs
r54 r62 5 5 +'HorizontalOffset'#3#162#1#14'VerticalOffset'#3#205#0#5'Width'#3#175#1#0#24 6 6 +'THTTPSessionStorageMySQL'#24'HTTPSessionStorageMySQL1'#8'Database'#7#8'Data' 7 +'base'#7'Timeout'#3'0*'#19'SessionIdCookieName'#6#9'SessionId'#4'left'#3' 8'#18 +#3'top'#2 #31#0#0#12'TSqlDatabase'#8'Database'#9'Connected'#8#8'Encoding'#6#49 + 'utf8'#4'left'#2'Q'#3'top'#2'V'#0#0#07 +'base'#7'Timeout'#3'0*'#19'SessionIdCookieName'#6#9'SessionId'#4'left'#3'0'#1 8 +#3'top'#2' '#0#0#12'TSqlDatabase'#8'Database'#9'Connected'#8#4'Port'#3#234#12 9 +#8'Encoding'#6#4'utf8'#4'left'#2'Q'#3'top'#2'V'#0#0#0 10 10 ]); -
trunk/Modules/UMainModule.pas
r58 r62 10 10 UXmlClasses, UHtmlClasses, UCore, UHTTPServerTCP, 11 11 UHTTPSessionFile, UUser, SpecializedList, Registry; 12 13 const14 RegistryKey = '\Software\Chronosoft\ZdechovNET';15 12 16 13 type … … 57 54 implementation 58 55 56 uses 57 UApplicationInfo; 58 59 59 { TMainModule } 60 60 … … 233 233 try 234 234 RootKey := HKEY_CURRENT_USER; 235 OpenKey( RegistryKey, True);235 OpenKey(ApplicationInfo.RegistryKey, True); 236 236 Style := ReadStringWithDefault('Style', 'Basic'); 237 237 BaseURL := ReadStringWithDefault('BaseURL', 'http://localhost');
Note:
See TracChangeset
for help on using the changeset viewer.