Simplify the maintenance file call (#5752)

* Simplify the maintenance file call

* Update index.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
This commit is contained in:
Zeros Developer
2021-12-16 22:06:59 +07:00
committed by GitHub
parent e999e1d07c
commit 472d31e5f2

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;
} }
/* /*