summaryrefslogtreecommitdiff
path: root/templates/themes/rrdtool/cron.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 15:22:41 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-07 15:22:41 +1000
commita582bf5866c8dbb6d497c0f860475a6eeb73b096 (patch)
treefcceb2c550ef56f073d5b0921c10a7d2e9cc51bc /templates/themes/rrdtool/cron.php
parent8baf6ca1245fd02c227c183e04c836b69235b9f7 (diff)
"rrdtool" theme for graphing basic stats in development
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