2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: force the absolute path when include the languages translation files. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e6b32529bd
commit
e4e288c30c
|
@ -1,3 +1,8 @@
|
||||||
|
2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/config_process.php: force the absolute path when include the
|
||||||
|
languages translation files.
|
||||||
|
|
||||||
2010-10-05 Sancho Lerena <slerena@artica.es>
|
2010-10-05 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* include/config_process.php: Remove config['debug'] from prev. commit.
|
* include/config_process.php: Remove config['debug'] from prev. commit.
|
||||||
|
|
|
@ -112,8 +112,8 @@ if (isset ($config['id_user'])){
|
||||||
|
|
||||||
$l10n = NULL;
|
$l10n = NULL;
|
||||||
|
|
||||||
if (file_exists ('./include/languages/'.$config["user_language"].'.mo')) {
|
if (file_exists ($config["homedir"] . '/include/languages/'.$config["user_language"].'.mo')) {
|
||||||
$l10n = new gettext_reader (new CachedFileReader ('./include/languages/'.$config["user_language"].'.mo'));
|
$l10n = new gettext_reader (new CachedFileReader ($config["homedir"] . '/include/languages/'.$config["user_language"].'.mo'));
|
||||||
$l10n->load_tables();
|
$l10n->load_tables();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue