summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/cron.php b/cron.php
index ead1a1e..9cc56a6 100644
--- a/cron.php
+++ b/cron.php
@@ -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