Moved public data to public_html/

This is going to improve caching.
This commit is contained in:
Marcin Kurczewski
2014-09-17 14:32:26 +02:00
parent 55f4f4430b
commit 15eb2342b9
18 changed files with 58 additions and 34 deletions

View File

@ -2,5 +2,6 @@
$start = microtime(true);
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AutoLoader.php');
$httpHelper = \Szurubooru\Injector::get(\Szurubooru\Helpers\HttpHelper::class);
$dispatcher = \Szurubooru\Injector::get(\Szurubooru\Dispatcher::class);
$dispatcher->run();
$dispatcher->run($httpHelper->getRequestMethod(), $_GET['q']);