diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-20 23:14:30 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-20 23:14:30 +0000 |
commit | 6e51794b3f225a01f221fcc198b7c802b70ff987 (patch) | |
tree | 53b2d672dab4ac0ad20f3bbb4b42b200ae030662 /plugins/language_switch/language_switch.inc.php | |
parent | af78fa6193f7fec2bad09315aa1fb512d3c9a6fc (diff) |
feature 1522: Move local css local files and local language files to local directory.
Add $conf['template_force_compile'] to help developpers.
git-svn-id: http://piwigo.org/svn/trunk@5208 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/language_switch/language_switch.inc.php')
-rw-r--r-- | plugins/language_switch/language_switch.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php index c97ed7637..cf815036e 100644 --- a/plugins/language_switch/language_switch.inc.php +++ b/plugins/language_switch/language_switch.inc.php @@ -49,7 +49,9 @@ class language_controler { // Reload language only if it isn't the same one if ( $same !== $user['language']) { load_language('common.lang', '', array('language'=>$user['language']) ); - load_language('local.lang', '', array('language'=>$user['language'], 'no_fallback'=>true) ); + load_language('lang', PHPWG_ROOT_PATH.'local/', + array('language'=>$user['language'], 'no_fallback'=>true, 'local'=>true) + ); if (defined('IN_ADMIN') and IN_ADMIN) { // Never currently load_language('admin.lang', '', array('language'=>$user['language']) ); } |