I guess so.
But again, I'm not an expert in PHP. I would say give it a try, if it doesn't work say somethin' and we'll try to change your old code.
How's that?
Moderator: Moderators

helluvaguy wrote:But after installation I encounterd the following error:
- Code: Select all
Fatal error: Call to undefined function: redirect() in /phpBB2/modcp/pagestart.php on line 56
This only happens if I want to access the ModCP - the AdminCP is accessable without any problem.

Fatal error: Call to undefined function: redirect() in /phpBB2/modcp/pagestart.php on line 56
interestcars wrote:
- Code: Select all
Fatal error: Call to undefined function: redirect() in /phpBB2/modcp/pagestart.php on line 56
My version is 2.0.4 but still has this error~~![]()
http://www.interestcars.com/forum
if (!$userdata['session_logged_in'])
{
redirect(append_sid("login.$phpEx?redirect=modcp/", true));
}
else if ( $userdata['user_level'] != MOD && $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
}Return to Moderator CP [2.0.17/EM]
Users browsing this forum: No registered users and 1 guest