Codice: Seleziona tutto
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
// Configure style, language, etc.
$user->setup('viewforum', $forum_data['forum_style']);
page_header('Games');
$template->set_filenames(array(
'body' => 'rivista_mkr.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
La cartella dovrebbe chiamasi games,ma non saprei in che modo devo modificare la path per far si che i file vengano letti al suo interno.