phpBB3 Topics anywhere
Mitä lukee index.php-tiedoston riveillä 0-8?
-
- Aloittelija
- Viestit:2
- Liittynyt:08 Heinä 2008, 16:59
Re: phpBB3 Topics anywhere
Ongelma korjaantui, kun lisäsin seuraavat rivit index.php-tiedoston alkuun:mrl586 kirjoitti:Mitä lukee index.php-tiedoston riveillä 0-8?
Koodi: Valitse kaikki
<?php
//-- Start the phpBB session AND include the nessacary files
define( 'IN_PHPBB', true );
$phpbb_root_path = './phpBB3/'; // change in your own root path.
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
$user->session_begin();
$auth->acl( $user->data );
$user->setup();
?>
Paikallaolijat
Käyttäjiä lukemassa tätä aluetta: Ei rekisteröityneitä käyttäjiä ja 250 vierailijaa