Replace with:if (!empty($_GET['style']) && $auth->acl_get('a_styles'))
if (!empty($_GET['style']))
Code: Select all
if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
{
Code: Select all
&& $auth->acl_get('a_styles')
Code: Select all
if (!empty($_GET['style']) && !defined('ADMIN_START'))
{