Slimming down autoloader require line

This commit is contained in:
ilumos 2017-12-09 01:02:47 +00:00
parent ffbb826961
commit b795f1dcde

View file

@ -15,13 +15,7 @@ use Zeropingheroes\LancacheAutofill\Commands\Steam\{
AuthoriseAccount, Dequeue, Initialise, QueueApp, QueuePopularApps, Requeue, SearchApps, ShowQueue, StartDownloading, UpdateAppList AuthoriseAccount, Dequeue, Initialise, QueueApp, QueuePopularApps, Requeue, SearchApps, ShowQueue, StartDownloading, UpdateAppList
}; };
// Load Composer's autoloader require_once __DIR__ . '/vendor/autoload.php';
if (file_exists($a = __DIR__.'/../../autoload.php')) {
require_once $a;
}
else {
require_once __DIR__.'/vendor/autoload.php';
}
// Load environment variables // Load environment variables
$dotenv = new Dotenv(__DIR__); $dotenv = new Dotenv(__DIR__);