|
@@ -72,7 +72,7 @@ discard block |
|
|
block discarded – undo |
|
72
|
72
|
|
|
73
|
73
|
if (file_exists(__DIR__ . '/../vendor/autoload.php')) { |
|
74
|
74
|
require __DIR__ . '/../vendor/autoload.php'; |
|
75
|
|
- } elseif (file_exists(__DIR__.'/../../../autoload.php')) { |
|
|
75
|
+ } elseif (file_exists(__DIR__ . '/../../../autoload.php')) { |
|
76
|
76
|
require __DIR__ . '/../../../autoload.php'; |
|
77
|
77
|
} elseif (file_exists($this->root_dir . '/bootstrap/autoload.php')) { |
|
78
|
78
|
//as of laravel>=5.5, optimize command has been deprecated |
|
@@ -90,7 +90,7 @@ discard block |
|
|
block discarded – undo |
|
90
|
90
|
} |
|
91
|
91
|
|
|
92
|
92
|
$this->kernel = $this->app->make(\Illuminate\Contracts\Http\Kernel::class); |
|
93
|
|
- $virus = function () { |
|
|
93
|
+ $virus = function() { |
|
94
|
94
|
// Insert bofore BootProviders |
|
95
|
95
|
array_splice($this->bootstrappers, -1, 0, [\Illuminate\Foundation\Bootstrap\SetRequestForConsole::class]); |
|
96
|
96
|
}; |
Please login to merge, or discard this patch.