Simplify the maintenance file call (#5752)

* Simplify the maintenance file call

* Update index.php

Co-authored-by: Taylor Otwell <[email protected]>
This commit is contained in:
Zeros Developer
2021-12-16 09:06:59 -06:00
committed by GitHub
co-authored by Taylor Otwell
parent e999e1d07c
commit 472d31e5f2
+2 -2
View File
@@ -16,8 +16,8 @@ define('LARAVEL_START', microtime(true));
| |
*/ */
if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require __DIR__.'/../storage/framework/maintenance.php'; require $maintenance;
} }
/* /*