mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fix
This commit is contained in:
parent
5249e24fa2
commit
29e90cae0b
@ -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…
x
Reference in New Issue
Block a user