Skip to content

Commit

Permalink
[Fix] Don't let Bots use styleswitcher
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed Mar 7, 2012
1 parent 4917e8c commit 83ac08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 83ac08a

Please sign in to comment.