public function runApplication() { if ($this->configRepository) { $this->configRepository->reload(); } $this->registerErrorHandlers(); $this->includeRoutes(); $this->createFrontController()->init(); }
<?php use Ouzo\Bootstrap; require 'vendor/autoload.php'; define('ROOT_PATH', realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR); $bootstrap = new Bootstrap(); $bootstrap->runApplication();