aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-01-15 18:25:07 +0000
committerflop25 <flop25@piwigo.org>2014-01-15 18:25:07 +0000
commit151c3b1129b76e00122ef2d91c1e80e7de9adae4 (patch)
treeee0532644c63f9e69cf7b56ff9374b2cec2c19d3
parent5e48a1a8688f973c555545841f9512f3a6d758f7 (diff)
small fix : loading language files in public side too
git-svn-id: http://piwigo.org/svn/trunk@26758 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--themes/smartpocket/themeconf.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/smartpocket/themeconf.inc.php b/themes/smartpocket/themeconf.inc.php
index 44f0d77d8..a23a3764f 100644
--- a/themes/smartpocket/themeconf.inc.php
+++ b/themes/smartpocket/themeconf.inc.php
@@ -16,6 +16,8 @@ $themeconf = array(
global $conf;
include(PHPWG_THEMES_PATH.'smartpocket/admin/upgrade.inc.php');
+load_language('theme.lang', PHPWG_THEMES_PATH.'smartpocket/');
+
// Redirect if page is not compatible with mobile theme
/*if (!in_array(script_basename(), array('index', 'register', 'profile', 'identification', 'ws', 'admin')))