diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -6,6 +6,8 @@ if (0 < $Planet->loadOpml(__DIR__.'/custom/people.opml')) { $Planet->download(1.0); } -foreach ($Planet->errors as $error) { - echo $error->toString()."\n"; -} +if ($conf['debug'] === true) { + foreach ($Planet->errors as $error) { + echo $error->toString() . "\n"; + } +}
\ No newline at end of file |