Changeset 286
- Timestamp:
- 08/22/10 10:01:19 (18 months ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
-
config.h.in (modified) (1 diff)
-
settings/settings_ini.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/config.h.in
r281 r286 74 74 75 75 76 #ifdef WIN32 77 #define DEFAULT_CONF_LOCATION _T("old") 78 #else 76 79 #define DEFAULT_CONF_LOCATION _T("ini") 80 #endif 77 81 #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++") 86 84 87 85 -
trunk/include/settings/settings_ini.hpp
r285 r286 226 226 } 227 227 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()); 229 229 SI_Error rc = ini.LoadFile(f.c_str()); 230 230 if (rc < 0)
Note: See TracChangeset
for help on using the changeset viewer.







