aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2006-12-25 07:17:29 +0000
committervdigital <vdigital@piwigo.org>2006-12-25 07:17:29 +0000
commit219447b9c89a27cc2bfc4193b8adc2eab7d46881 (patch)
tree86db8baf8d2a6332c9b461e812976a367c406c1e /include/functions.inc.php
parentb1a6316ca2f5f79891c6170049bfd06650847e49 (diff)
Feature Issue ID 0000527: Language localization - local.lang.php can be added to each language directory. Authorize your own translation to be keep over migrations.
git-svn-id: http://piwigo.org/svn/trunk@1679 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 10c5d36cd..f9fbaf88f 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -640,6 +640,7 @@ function redirect_html( $url , $msg = '', $refresh_time = 0)
{
$user = build_user( $conf['guest_id'], true);
include_once(get_language_filepath('common.lang.php'));
+ @include_once(get_language_filepath('local.lang.php'));
list($tmpl, $thm) = explode('/', $conf['default_template']);
$template = new Template(PHPWG_ROOT_PATH.'template/'.$tmpl, $thm);
}