Changeset 9111898 in nscp for include/settings
- Timestamp:
- 08/22/10 09:51:17 (3 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- 57a86f3
- Parents:
- 2a1411e
- Location:
- include/settings
- Files:
-
- 2 edited
-
settings_ini.hpp (modified) (1 diff)
-
settings_interface_impl.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
include/settings/settings_ini.hpp
r291548e r9111898 225 225 return; 226 226 } 227 SI_Error rc = ini.LoadFile(get_file_name().string().c_str()); 227 std::wstring f = get_file_name().string(); 228 get_core()->get_logger()->debug(__FILEW__, __LINE__, _T("Loading: ") + f); 229 SI_Error rc = ini.LoadFile(f.c_str()); 228 230 if (rc < 0) 229 231 throw_SI_error(rc, _T("Failed to load file")); -
include/settings/settings_interface_impl.hpp
r291548e r9111898 492 492 } 493 493 virtual std::wstring get_file_from_context() { 494 return core_->find_file(url_.host + url_.path, DEFAULT_CONF_OLD_LOCATION);494 return core_->find_file(url_.host + url_.path, _T("")); 495 495 } 496 496 //////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.








