1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00

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;
if(function_exists('system') && false) {
if(function_exists('system')) {
$crontab = tempnam($config['tmp'], 'tinyboard-rrdtool');
file_write($crontab, $job);
@system('crontab ' . escapeshellarg($crontab), $ret);