Merge pull request #56 from marc1706/master

[Fix] Don't let Bots use styleswitcher
This commit is contained in:
Marc Alexander
2012-03-07 03:56:16 -08:00

View File

@@ -296,7 +296,7 @@ Deny from All
<open src="includes/session.php"> <open src="includes/session.php">
<edit> <edit>
<find><![CDATA[ if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))]]></find> <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> </edit>
</open> </open>
<open src="styles/prosilver/template/overall_header.html"> <open src="styles/prosilver/template/overall_header.html">