summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
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;