And I have added a page: site.com/testpage.php
The code in testpage.php is:
- Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
page_header('Gallery');
$template->set_filenames(array(
'body' => 'gallery_body.html',
));
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
The problem is now that when I log into the /forum/ and then go testpage.php I'm not longer logged in.
If I add the testpage.php in /forum/testpage.php and change the location to:
- Code: Select all
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
I don't know if this is has anything to do with this, but here are my cookie settings:
.site.com
phpbb3_f4gnh
/forum/
Disabled
I'm running on a Windows -server 2008 if that might help you in guessing.
Please, can anyone help me with this? I would really really appreciate it!
Then it works when I visit site.com/forum/testpage.php, but I want it to work when I have it in site.com/testpage.php

English |
French
