lainchan/templates/themes/rrdtool/cron.php

12 lines
299 B
PHP

<?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');
?>