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

//Load OPML
if (0 < $Planet->loadOpml($PlanetConfig->getOpmlFile())) {
    $Planet->download(1.0);
}

if ($PlanetConfig->getDebug()) {
    foreach ($Planet->errors as $error) {
        echo $error->toString() . "\n";
    }
}