Move Composer autoload require out of boot.php

This commit is contained in:
Hypolite Petovan 2018-12-24 09:56:48 -05:00
parent acaee626f5
commit ed7bada71e
6 changed files with 6 additions and 10 deletions

View file

@ -30,7 +30,7 @@ if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
chdir($directory);
}
require_once "boot.php";
require dirname(__DIR__) . '/vendor/autoload.php';
$a = new App(dirname(__DIR__));