From de2e1eba99b7d892f2f6fd782703496561c1524e Mon Sep 17 00:00:00 2001 From: thomascube Date: Sun, 16 Oct 2005 22:09:05 +0000 Subject: Added alt-texts for IE browser --- program/include/main.inc | 2 +- program/include/rcube_shared.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'program') 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'); -- cgit v1.2.3