Code: Select all
<?php
if (!isset($_SESSION['userid'])) {
//No one is logged in, kick them back
?>
<div id="body">
<center><span class="info">You are not logged in, please wait one moment while we redirect you</span></center>
<meta http-equiv="refresh" content="2;url=./">
</div>
<?php
include('../footer.php');
exit();
}*edit*
I did some more research and this seems to have happened between version 5.3.27 and versions 5.4 and breaks even worse in 5.5 (warnings about SQL queries).