update for maintenance mode
This commit is contained in:
parent
395ede7a2d
commit
47e2781f68
|
@ -5,6 +5,17 @@
|
||||||
|
|
||||||
define('LARAVEL_START', microtime(true));
|
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')) {
|
if (file_exists(__DIR__.'/../bootstrap/maintenance.php')) {
|
||||||
require __DIR__.'/../bootstrap/maintenance.php';
|
require __DIR__.'/../bootstrap/maintenance.php';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue