Re: Is there a Wiki? Create extra pages?
w00t I figured it out...it was the call to the sql query for the page that was screwing it up.
This is what worked:
Code:
require './include/config.php';
if ($page_info['page_members_only'] == 1)
{
User::is_logged_in();
}
function show_page_not_found()
{
header("HTTP/1.0 404 Not Found");
echo "<html><head><title>Page Not Found</title></head><body>Page Not Found</body></html>";
exit(0);
}
$smarty->assign('err', $err);
$smarty->display('header.tpl');
$smarty->display('mypage.tpl');
$smarty->display('footer.tpl');
db_close();
If it's not fun, stop doing it!
Bookmarks