mirror of
https://github.com/zeropingheroes/lancache-autofill
synced 2024-11-10 10:24:12 +00:00
Slimming down autoloader require line
This commit is contained in:
parent
ffbb826961
commit
b795f1dcde
1 changed files with 1 additions and 7 deletions
|
@ -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__);
|
||||
|
|
Loading…
Reference in a new issue