Skip some unneccessary intermediate pages

This commit is contained in:
Latif Khalifa
2013-10-12 04:29:42 +02:00
parent 2f95d2c715
commit 0abad7bc58
4 changed files with 29 additions and 19 deletions

View File

@@ -3,6 +3,11 @@
define("SITE_ROOT", realpath(dirname(__file__)));
require_once SITE_ROOT . "/lib/init.php";
if (!$S->isAnonymous() && $S->user->isAllowed())
{
http::redirect("/crashes.php");
}
Layout::header();
?>