aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-02-05 19:41:03 +0000
committerrvelices <rv-github@modusoptimus.com>2013-02-05 19:41:03 +0000
commitf0f01c2be1b1ecedf1ef84dbee4c388a60356a54 (patch)
tree81cf64d2f0af742e5e63e75430cd8ba6d094f60a /themes
parent00ed87a52de2abac3b81e677db8852d3522c9d64 (diff)
fix potential smartpocket redirect issue in admin (redirect -> redirect_html -> new Template -> include themeconf.inc.php => Fatal error)
git-svn-id: http://piwigo.org/svn/trunk@20579 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/smartpocket/themeconf.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/smartpocket/themeconf.inc.php b/themes/smartpocket/themeconf.inc.php
index f3c5b7ed0..a7a5a9c23 100644
--- a/themes/smartpocket/themeconf.inc.php
+++ b/themes/smartpocket/themeconf.inc.php
@@ -13,7 +13,7 @@ $themeconf = array(
);
// Redirect if page is not compatible with mobile theme
-if (!in_array(script_basename(), array('index', 'register', 'profile', 'identification', 'ws')))
+if (!in_array(script_basename(), array('index', 'register', 'profile', 'identification', 'ws', 'admin')))
redirect(duplicate_index_url());
//Retrive all pictures on thumbnails page