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
This commit is contained in:
rvelices
2013-02-05 19:41:03 +00:00
parent 00ed87a52d
commit f0f01c2be1
+1 -1
View File
@@ -13,7 +13,7 @@ $themeconf = array(
); );
// Redirect if page is not compatible with mobile theme // 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()); redirect(duplicate_index_url());
//Retrive all pictures on thumbnails page //Retrive all pictures on thumbnails page