debug "&& false"

This commit is contained in:
Savetheinternet 2011-12-22 15:24:33 +11:00
parent 5ed987b614
commit 746cc17aa2

View File

@ -91,7 +91,7 @@
$job = '*/' . $settings['interval'] . ' * * * * php -q ' . str_replace('\\', '/', dirname(__FILE__)) . '/cron.php' . PHP_EOL; $job = '*/' . $settings['interval'] . ' * * * * php -q ' . str_replace('\\', '/', dirname(__FILE__)) . '/cron.php' . PHP_EOL;
if(function_exists('system') && false) { if(function_exists('system')) {
$crontab = tempnam($config['tmp'], 'tinyboard-rrdtool'); $crontab = tempnam($config['tmp'], 'tinyboard-rrdtool');
file_write($crontab, $job); file_write($crontab, $job);
@system('crontab ' . escapeshellarg($crontab), $ret); @system('crontab ' . escapeshellarg($crontab), $ret);