Ignore:
Timestamp:
Dec 19, 2011, 9:33:21 AM (13 years ago)
Author:
chronos
Message:
  • Přidáno: Jednotka UApplicationInfo obsahující informace o programu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/UMainModule.pas

    r58 r62  
    1010  UXmlClasses, UHtmlClasses, UCore, UHTTPServerTCP,
    1111  UHTTPSessionFile, UUser, SpecializedList, Registry;
    12 
    13 const
    14   RegistryKey = '\Software\Chronosoft\ZdechovNET';
    1512
    1613type
     
    5754implementation
    5855
     56uses
     57  UApplicationInfo;
     58
    5959{ TMainModule }
    6060
     
    233233  try
    234234    RootKey := HKEY_CURRENT_USER;
    235     OpenKey(RegistryKey, True);
     235    OpenKey(ApplicationInfo.RegistryKey, True);
    236236    Style := ReadStringWithDefault('Style', 'Basic');
    237237    BaseURL := ReadStringWithDefault('BaseURL', 'http://localhost');
Note: See TracChangeset for help on using the changeset viewer.