Added proper code for new maintenance mode feature.
This commit is contained in:
@@ -53,6 +53,22 @@ App::error(function(Exception $exception, $code)
|
||||
Log::error($exception);
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maintenance Mode Handler
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The "down" Artisan command gives you the ability to put an application
|
||||
| into maintenance mode. Here, you will define what is displayed back
|
||||
| to the user if maintenace mode is in effect for this application.
|
||||
|
|
||||
*/
|
||||
|
||||
App::down(function()
|
||||
{
|
||||
return "We'll be right back!";
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Require The Filters File
|
||||
|
||||
Reference in New Issue
Block a user