9 lines
402 B
PHP
9 lines
402 B
PHP
<?php
|
|
$start = microtime(true);
|
|
|
|
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'Bootstrap.php');
|
|
|
|
\Szurubooru\Bootstrap::init();
|
|
$httpHelper = \Szurubooru\Injector::get(\Szurubooru\Helpers\HttpHelper::class);
|
|
$dispatcher = \Szurubooru\Injector::get(\Szurubooru\Dispatcher::class);
|
|
$dispatcher->run($httpHelper->getRequestMethod(), $_GET['q']);
|