From 8e9c121b8a3fb34302d716478a14e53e94f37b37 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 Mar 2007 15:05:00 +0100 Subject: [PATCH] set fixed pcntl_alarm in daemon, pass ICONS_URL as init param --- functions.php | 2 ++ update_daemon.php | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/functions.php b/functions.php index fb38f6b3..275efb1c 100644 --- a/functions.php +++ b/functions.php @@ -2201,6 +2201,8 @@ print ""; + print ""; + print ""; } diff --git a/update_daemon.php b/update_daemon.php index ca60b2a3..528418fb 100644 --- a/update_daemon.php +++ b/update_daemon.php @@ -157,11 +157,7 @@ _debug("Updating..."); - if (defined('MAGPIE_FETCH_TIME_OUT')) { - pcntl_alarm(MAGPIE_FETCH_TIME_OUT * 2); - } else { - pcntl_alarm(300); - } + pcntl_alarm(300); update_rss_feed($link, $line["feed_url"], $line["id"], true); -- 2.39.5