summaryrefslogtreecommitdiffstats
path: root/common/cron.php
blob: 9cc56a679f1132492a87fd1e05d840b3101b1f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
include_once(__DIR__.'/app/app.php');

//Load OPML
if (0 < $Planet->loadOpml(__DIR__.'/custom/people.opml')) {
    $Planet->download(1.0);
}

if ($conf['debug'] === true) {
    foreach ($Planet->errors as $error) {
        echo $error->toString() . "\n";
    }
}