From f631badc98d01a301163c3ca93f04c7c5c9d9fbc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 4 Apr 2015 14:15:04 +0200 Subject: [PATCH] ylanguage.cpp: fix path to user's locale Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/fa68e5cf7e4844e24f871780873c156d0ca6dc3a Author: vanhofen Date: 2015-04-04 (Sat, 04 Apr 2015) Origin message was: ------------------ - ylanguage.cpp: fix path to user's locale ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/yhttpd_core/ylanguage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nhttpd/yhttpd_core/ylanguage.cpp b/src/nhttpd/yhttpd_core/ylanguage.cpp index 7c56f80ec..9604c72c1 100644 --- a/src/nhttpd/yhttpd_core/ylanguage.cpp +++ b/src/nhttpd/yhttpd_core/ylanguage.cpp @@ -76,7 +76,7 @@ void CLanguage::setLanguage(std::string _language){ ConfigLanguage->loadConfig(language_dir + "/" + _language); DefaultLanguage->loadConfig(language_dir + "/" + HTTPD_DEFAULT_LANGUAGE); - const char * path[2] = { CONFIGDIR "/locale/", DATADIR "/neutrino/locale/"}; + const char * path[2] = { "/var/tuxbox/locale/", DATADIR "/neutrino/locale/"}; for (int i = 0; i < 2; i++) { std::string filename = path[i];