summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-16 22:09:05 +0000
committerthomascube <thomas@roundcube.net>2005-10-16 22:09:05 +0000
commitde2e1eba99b7d892f2f6fd782703496561c1524e (patch)
tree387a796bed8025e3c2d085cd686d5b734a449546
parent8c67d5801ce2bb724baf324941b6cbf7ea388bfd (diff)
Added alt-texts for IE browser
-rw-r--r--program/include/main.inc2
-rw-r--r--program/include/rcube_shared.inc2
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');