Minor fix

This commit is contained in:
Hillel Coren 2015-08-03 11:02:35 +03:00
parent 5249e24fa2
commit 29e90cae0b
2 changed files with 1 additions and 4 deletions

View File

@ -158,7 +158,7 @@ class StartupCheck
} }
} }
if (preg_match('/(?i)msie [2-8]/', $_SERVER['HTTP_USER_AGENT'])) { if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/(?i)msie [2-8]/', $_SERVER['HTTP_USER_AGENT'])) {
Session::flash('error', trans('texts.old_browser')); Session::flash('error', trans('texts.old_browser'));
} }

View File

@ -1,8 +1,5 @@
<?php <?php
//dd("We're currently undergoing a brief maintenance, we'll be right back.");
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Application Routes | Application Routes