[Fix] Don't let Bots use styleswitcher
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user