From f0f01c2be1b1ecedf1ef84dbee4c388a60356a54 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 5 Feb 2013 19:41:03 +0000 Subject: 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 --- themes/smartpocket/themeconf.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/smartpocket/themeconf.inc.php') 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 -- cgit v1.2.3