szurubooru/public_html/api-dispatch.php

9 lines
373 B
PHP
Raw Normal View History

<?php
2014-08-30 15:04:33 +02:00
$start = microtime(true);
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AutoLoader.php');
2014-08-30 15:04:33 +02:00
2014-09-05 20:33:05 +02:00
$dispatcher = \Szurubooru\Injector::get(\Szurubooru\Dispatcher::class);
2014-08-30 15:04:33 +02:00
$dispatcher->run();