На буржуйском сайте раскопал такой вот мод-немод:
Код: Выделить всё
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './'; // <--
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
?>
HTML Code here
<?
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Код: Выделить всё
$userdata = session_pagestart($user_ip, PAGE_INDEX);