leftypol/templates/themes/rrdtool/cron.php
2012-04-12 12:57:43 +10:00

10 lines
277 B
PHP

<?php
$_SERVER = Array('REQUEST_URI' => '', 'HTTP_HOST' => '', 'SCRIPT_FILENAME' => '');
chdir(str_replace('\\', '/', dirname(__FILE__)) . '/../../../');
require 'inc/functions.php';
require dirname(__FILE__) . '/theme.php';
rebuildTheme('rrdtool', 'cron');