Created
September 4, 2014 16:30
-
-
Save koomai/4bbf0db73672404313f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
App::down(function() | |
{ | |
if ( ! is_admin_ip(Request::getClientIp())) | |
{ | |
return Response::view('maintenance', [], 503); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment