wakeup(); if (isreportingerrors()) { Sentry\init([ 'dsn' => Wcms\Config::sentrydsn(), 'release' => getversion(), 'project_root' => 'app', ]); Sentry\configureScope(function ($scope) { $scope->setUser([ 'id' => Wcms\Config::url(), 'username' => Wcms\Config::basepath(), ]); }); } try { $matchoper = new Wcms\Routes(); $matchoper->match(); } catch (Exception $e) { if (isreportingerrors()) { Sentry\captureException($e); } echo '