Merge branch 'master' of linz:/srv/git/git-kairo
[php-utility-classes.git] / testbed / rrd / rrd-stat.php
index 8dfbb6c871bff0b6e8c41701133437e603fe0590..ed939746be868d66d075b46cb18e73c90ae8f735 100644 (file)
@@ -10,6 +10,10 @@ if (getcwd() != dirname($myfile)) {
 
 include_once('rrdstat.php-class');
 
+// $GLOBALS['ua'] is required by some page generation routines
+include_once('useragent.php-class');
+$ua = new userAgent();
+
 $rrd_config_file = 'rrd-config/'.php_uname('n').'.inc.php';
 if (!file_exists($rrd_config_file)) { $rrd_config_file = 'rrd-config.inc.php'; }
 include_once($rrd_config_file);