Sivu 3/3

Re: phpBB3 Topics anywhere

Lähetetty: 08 Heinä 2008, 18:29
Kirjoittaja mrl586
Mitä lukee index.php-tiedoston riveillä 0-8?

Re: phpBB3 Topics anywhere

Lähetetty: 09 Heinä 2008, 10:21
Kirjoittaja cosmicjuuso
mrl586 kirjoitti:Mitä lukee index.php-tiedoston riveillä 0-8?
Ongelma korjaantui, kun lisäsin seuraavat rivit index.php-tiedoston alkuun:

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();
?>