Autor: Martin
Deschideti includes/auth.php
Cauta :
Code:
function acl_get($opt, $f = 0)
{
$negate = false;
if (strpos($opt, '!') === 0)
{
$negate = true;
$opt = substr($opt, 1);
}
Inlocuieste cu :
Code:
function acl_get($opt, $f = 0)
{
global $user;
$negate = false;
if (strpos($opt, '!') === 0)
{
$negate = true;
$opt = substr($opt, 1);
if ($user->data['user_type'] == USER_FOUNDER)
{
return false;
Sursa : phpbbCodes.ro