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(null, 32768); Dispatcher::dispatch(); ob_end_flush();