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
|
||||
$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');
|
||||
|
||||
$dispatcher = \Szurubooru\Injector::get(\Szurubooru\Dispatcher::class);
|
||||
$dispatcher->run();
|
||||
|
|
|
@ -24,3 +24,5 @@ final class AutoLoader
|
|||
}
|
||||
|
||||
AutoLoader::init();
|
||||
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
|
||||
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'AutoLoader.php');
|
||||
|
||||
$upgradeService = Szurubooru\Injector::get(\Szurubooru\Services\UpgradeService::class);
|
||||
|
|
Loading…
Reference in a new issue