summaryrefslogtreecommitdiff
path: root/templates/themes/rrdtool/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/rrdtool/cron.php')
-rw-r--r--templates/themes/rrdtool/cron.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/themes/rrdtool/cron.php b/templates/themes/rrdtool/cron.php
new file mode 100644
index 00000000..4608e959
--- /dev/null
+++ b/templates/themes/rrdtool/cron.php
@@ -0,0 +1,12 @@
+<?php
+ $_SERVER = Array('REQUEST_URI' => '', 'HTTP_HOST' => '', 'SCRIPT_FILENAME' => '');
+ chdir('/var/www');
+
+ require 'inc/functions.php';
+ require 'inc/display.php';
+ require 'inc/template.php';
+ require 'inc/database.php';
+
+ require 'theme.php';
+ rebuildTheme('rrdtool', 'cron');
+?> \ No newline at end of file