updateAccessTime(); Registry::set('user', $user); // Handle errors our own way. //set_error_handler('ErrorHandler::handleError'); ini_set("display_errors", DEBUG ? "On" : "Off"); // The real magic starts here! ob_start(); Dispatcher::dispatch(); ob_end_flush();