Do każdej strony dodany jest nagłówek:
<?php //pliki forum/autoryzacja użytkowników $phpEx = "php"; include_once($phpbb_root_path . 'common.' . $phpEx); include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx); require_once($phpbb_root_path . 'includes/functions_privmsgs.' . $phpEx); require_once($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx); $user->session_begin(); $auth->acl($user->data); //logowanie: $auth->login($username,$password,$remember,$hide,0); ?>
pzdr