<?php /** * Application initialization!<br> * Every single f*****g request goes from here, * and then gets routed to appropriate controller */ try { ini_set("display_errors", 0); require_once 'includes/AutoLoader.php'; Session::start(); Profiler::startProfiler('main'); $bootstrap = new Bootstrap(); $bootstrap->init(); Profiler::endProfiler('main'); } catch (Exception $e) { RequestManager::handleException($e); Profiler::endProfiler('main'); }