From b795f1dcde737aa336830e89dd41e9fefe5b3be8 Mon Sep 17 00:00:00 2001 From: ilumos Date: Sat, 9 Dec 2017 01:02:47 +0000 Subject: [PATCH] Slimming down autoloader require line --- lancache-autofill | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lancache-autofill b/lancache-autofill index bfccdb2..5919263 100755 --- a/lancache-autofill +++ b/lancache-autofill @@ -15,13 +15,7 @@ use Zeropingheroes\LancacheAutofill\Commands\Steam\{ AuthoriseAccount, Dequeue, Initialise, QueueApp, QueuePopularApps, Requeue, SearchApps, ShowQueue, StartDownloading, UpdateAppList }; -// Load Composer's autoloader -if (file_exists($a = __DIR__.'/../../autoload.php')) { - require_once $a; -} -else { - require_once __DIR__.'/vendor/autoload.php'; -} +require_once __DIR__ . '/vendor/autoload.php'; // Load environment variables $dotenv = new Dotenv(__DIR__);