[Fix] Don't let Bots use styleswitcher

This commit is contained in:
Marc Alexander
2012-03-07 11:53:06 +01:00
parent 4917e8ca3c
commit 83ac08a9d2

View File

@@ -296,7 +296,7 @@ Deny from All
<open src="includes/session.php">
<edit>
<find><![CDATA[ if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))]]></find>
<action type="replace-with"><![CDATA[ if (!empty($_GET['style']) && !defined('ADMIN_START'))]]></action>
<action type="replace-with"><![CDATA[ if (!empty($_GET['style']) && !defined('ADMIN_START') && $this->data['user_type'] != USER_IGNORE)]]></action>
</edit>
</open>
<open src="styles/prosilver/template/overall_header.html">