diff options
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/main.inc | 2 | ||||
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 5eabf755d..ae5899b43 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -30,7 +30,7 @@ function rcmail_startup($task='mail') // check client $BROWSER = rcube_browser(); - + // load config file include_once('config/main.inc.php'); $CONFIG = is_array($rcmail_config) ? $rcmail_config : array(); diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 693a2c860..8396f99d6 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -979,7 +979,7 @@ class select extends base_form_element // provide details about the client's browser function rcube_browser() { - global $HTTP_USER_AGENT; + $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT']; $bw['ver'] = 0; $bw['win'] = stristr($HTTP_USER_AGENT, 'win'); |