Minor fix
This commit is contained in:
parent
5249e24fa2
commit
29e90cae0b
2 changed files with 1 additions and 4 deletions
|
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
<?php
|
||||
|
||||
//dd("We're currently undergoing a brief maintenance, we'll be right back.");
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Routes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue