Topic: Trying to make an undercover Admin
Hi!
I've followed the instructions from here
added the following:
if($pun_user['id'] == 3)
$pun_user['g_id'] = PUN_ADMIN;
to /include/common.php right after line 118 (or something)
// Check/update/set cookie and fetch user info
119 $pun_user = array();
I looked in db table users and found that id of the user that i want to be admin is 3.
But it isn't working. why?