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:
parent
e999e1d07c
commit
472d31e5f2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue