The only exception is with a custom page the site has for a chat functionality. The previous tech admin set the page up and it works fine on 3.0.0. The code for the php page is as follows:
Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header('ReefSafe Chat');
if (!$user->data['is_registered'])
{
trigger_error('You are not allowed to enter the chat-room.');
}
$naam = $user->data['username'];
$template->set_filenames(array(
'body' => 'chat.html',
));
$template->assign_vars(array(
'naam' => $naam));
page_footer();
?>
Any help greatfully received!