aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-20 23:14:30 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-20 23:14:30 +0000
commit6e51794b3f225a01f221fcc198b7c802b70ff987 (patch)
tree53b2d672dab4ac0ad20f3bbb4b42b200ae030662 /include/functions_mail.inc.php
parentaf78fa6193f7fec2bad09315aa1fb512d3c9a6fc (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 '')
-rw-r--r--include/functions_mail.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 4e6ee21bc..5322e2165 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -255,7 +255,9 @@ function switch_lang_to($language)
// Translations are in admin file too
load_language('admin.lang', '', array('language'=>$language) );
trigger_action('loading_lang');
- load_language('local.lang', '', array('language'=>$language, 'no_fallback'=>true));
+ load_language('lang', PHPWG_ROOT_PATH.'local/',
+ array('language'=>$language, 'no_fallback'=>true, 'local'=>true)
+ );
$switch_lang['language'][$language]['lang_info'] = $lang_info;
$switch_lang['language'][$language]['lang'] = $lang;