set fixed pcntl_alarm in daemon, pass ICONS_URL as init param

master
Andrew Dolgov 18 years ago
parent 7ca91eb38b
commit 8e9c121b8a

@ -2201,6 +2201,8 @@
print "<param key=\"cdm_auto_catchup\" value=\"" .
sprintf("%d", get_pref($link, "CDM_AUTO_CATCHUP")) . "\"/>";
print "<param key=\"icons_url\" value=\"" . ICONS_URL . "\"/>";
print "</init-params>";
}

@ -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);

Loading…
Cancel
Save