update for maintenance mode
This commit is contained in:
@@ -5,6 +5,17 @@ use Illuminate\Http\Request;
|
||||
|
||||
define('LARAVEL_START', microtime(true));
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Check If Application Is Under Maintenance
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If the application is maintenance / demo mode via the "down" command we
|
||||
| will require this file so that any prerendered template can be shown
|
||||
| instead of starting the framework, which could cause an exception.
|
||||
|
|
||||
*/
|
||||
|
||||
if (file_exists(__DIR__.'/../bootstrap/maintenance.php')) {
|
||||
require __DIR__.'/../bootstrap/maintenance.php';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user