mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
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
63b0c4a71f
commit
d5a6f363f3
@ -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…
x
Reference in New Issue
Block a user