mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
debug "&& false"
This commit is contained in:
parent
5ed987b614
commit
746cc17aa2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user