Enable / Disable Maintenance mode from command line
1
To enable Maintenance mode:
# php artisan tinker <<< "Cms\Models\MaintenanceSetting::set('is_enabled', true);exit;"
To disable Maintenance mode:
# php artisan tinker <<< "Cms\Models\MaintenanceSetting::set('is_enabled', false);exit;"
Credit: @Tomasz Strojny
There are no comments yet
Be the first one to comment