mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user