Changeset 286


Ignore:
Timestamp:
08/22/10 10:01:19 (18 months ago)
Author:
mickem
Message:

some more monir twekas

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config.h.in

    r281 r286  
    7474 
    7575 
     76#ifdef WIN32 
     77#define DEFAULT_CONF_LOCATION _T("old") 
     78#else 
    7679#define DEFAULT_CONF_LOCATION _T("ini") 
     80#endif 
    7781#define DEFAULT_CONF_OLD_LOCATION _T("old://${exe-path}/nsc.ini") 
    78  
    79 /* 
    80 #;location=old://${exe-path}/nsc.ini 
    81 #location=ini://${exe-path}/nsclient.ini 
    82 #;location=ini://${base-path}/nsclient.ini 
    83 #;location=registry://HKEY_LOCAL_MACHINE/software/NSClient++ 
    84 */ 
    85  
     82#define DEFAULT_CONF_INI_LOCATION _T("ini://${shared-path}/nsclient.ini") 
     83#define DEFAULT_CONF_REG_LOCATION _T("registry://HKEY_LOCAL_MACHINE/software/NSClient++") 
    8684 
    8785 
  • trunk/include/settings/settings_ini.hpp

    r285 r286  
    226226      } 
    227227      std::wstring f = get_file_name().string(); 
    228       get_core()->get_logger()->debug(__FILEW__, __LINE__, _T("Loading: ") + f); 
     228      get_core()->get_logger()->debug(__FILEW__, __LINE__, _T("Loading: ") + f + _T(" from ") + get_context()); 
    229229      SI_Error rc = ini.LoadFile(f.c_str()); 
    230230      if (rc < 0) 
Note: See TracChangeset for help on using the changeset viewer.