diff --git a/public/index.php b/public/index.php index 002ee24d2..1d69f3a28 100644 --- a/public/index.php +++ b/public/index.php @@ -16,8 +16,8 @@ define('LARAVEL_START', microtime(true)); | */ -if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { - require __DIR__.'/../storage/framework/maintenance.php'; +if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) { + require $maintenance; } /*