small fix : loading language files in public side too

git-svn-id: http://piwigo.org/svn/trunk@26758 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
flop25
2014-01-15 18:25:07 +00:00
parent 5e48a1a868
commit 151c3b1129

View File

@@ -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')))