summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron.php b/cron.php
index a32a392..688bebe 100644
--- a/cron.php
+++ b/cron.php
@@ -2,11 +2,11 @@
include_once(__DIR__.'/app/app.php');
//Load OPML
-if (0 < $Planet->loadOpml(__DIR__.'/custom/people.opml')) {
+if (0 < $Planet->loadOpml($PlanetConfig->getOpmlFile())) {
$Planet->download(1.0);
}
-if ($conf['debug'] === true) {
+if ($PlanetConfig->getDebug()) {
foreach ($Planet->errors as $error) {
echo $error->toString() . "\n";
}