setAlwaysPrint(); if (SESSION_LEVEL < 3) $session = new Session(); $database = new Database(); $trafficCop = new Router(); // routes for this application include(DOCUMENT_ROOT.'routes.php'); // get things rolling if (isset($_GET['url'])) { $dispatcher = new Dispatcher($_GET['url']); } else { $dispatcher = new Dispatcher('/'); } $dispatcher->dispatch(); ?>