Fixed vendor autoloader placement
This commit is contained in:
parent
4526345e5b
commit
f0a077f2b4
3 changed files with 2 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$start = microtime(true);
|
$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');
|
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AutoLoader.php');
|
||||||
|
|
||||||
$dispatcher = \Szurubooru\Injector::get(\Szurubooru\Dispatcher::class);
|
$dispatcher = \Szurubooru\Injector::get(\Szurubooru\Dispatcher::class);
|
||||||
$dispatcher->run();
|
$dispatcher->run();
|
||||||
|
|
|
@ -24,3 +24,5 @@ final class AutoLoader
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoLoader::init();
|
AutoLoader::init();
|
||||||
|
|
||||||
|
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
|
|
||||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AutoLoader.php');
|
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AutoLoader.php');
|
||||||
|
|
||||||
$upgradeService = Szurubooru\Injector::get(\Szurubooru\Services\UpgradeService::class);
|
$upgradeService = Szurubooru\Injector::get(\Szurubooru\Services\UpgradeService::class);
|
||||||
|
|
Loading…
Reference in a new issue