1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 21:35:55 +00:00

fix typo, run witn E_ALL error level

This commit is contained in:
Andrew Dolgov
2006-04-20 06:16:41 +01:00
parent 658e1cc10c
commit 550e37d59d

View File

@@ -3,6 +3,8 @@
// this daemon runs in the background and updates all feeds // this daemon runs in the background and updates all feeds
// continuously // continuously
define('DEFAULT_ERROR_LEVEL', E_ALL);
declare(ticks = 1); declare(ticks = 1);
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon'); define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
@@ -101,7 +103,7 @@
print "Feed: " . $line["feed_url"] . ": "; print "Feed: " . $line["feed_url"] . ": ";
printf("(%d/%d, %d) ", time() - strtotime($line["last_updated"]), printf("(%d/%d, %d) ", time() - strtotime($line["last_updated"]),
$upd_intl*60, $owner_uid); $upd_intl*60, $user_id);
if (!$line["last_updated"] || if (!$line["last_updated"] ||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) { time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {