Added proper code for new maintenance mode feature.
This commit is contained in:
parent
e72b120929
commit
74cd3eb838
|
@ -96,6 +96,7 @@
|
|||
'Illuminate\Foundation\Providers\KeyGeneratorServiceProvider',
|
||||
'Illuminate\Log\LogServiceProvider',
|
||||
'Illuminate\Mail\MailServiceProvider',
|
||||
'Illuminate\Foundation\Providers\MaintenanceServiceProvider',
|
||||
'Illuminate\Database\MigrationServiceProvider',
|
||||
'Illuminate\Foundation\Providers\OptimizeServiceProvider',
|
||||
'Illuminate\Pagination\PaginationServiceProvider',
|
||||
|
|
|
@ -53,6 +53,22 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue