aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-27 13:57:11 +0000
committergerv%gerv.net <>2002-04-27 13:57:11 +0000
commit2fbdc1d838a990be1faba320618eae6fadae878a (patch)
treed770d45181c7ae6fa5be31462ed18b94589fcd72 /globals.pl
parentBug 105960 - xml.cgi has wrong content type, and should be standalone (diff)
downloadbugzilla-2fbdc1d838a990be1faba320618eae6fadae878a.tar.gz
bugzilla-2fbdc1d838a990be1faba320618eae6fadae878a.tar.bz2
bugzilla-2fbdc1d838a990be1faba320618eae6fadae878a.zip
Bug 138284 - prepare for Bugzilla Helper replacement enter_bug template. Patch by gerv; r=bbaetz, myk.
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl
index 4c93e800a..2fd047dd4 100644
--- a/globals.pl
+++ b/globals.pl
@@ -1750,6 +1750,9 @@ $::vars =
# SyncAnyPendingShadowChanges - called in the footer to sync the shadowdb
'SyncAnyPendingShadowChanges' => \&SyncAnyPendingShadowChanges ,
+
+ # User Agent - useful for detecting in templates
+ 'user_agent' => $ENV{'HTTP_USER_AGENT'} ,
};
1;