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:
co-authored by
Taylor Otwell
parent
e999e1d07c
commit
472d31e5f2
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user