Skip to content

Commit

Permalink
Restore RSS feed crawler trigger, closes #1255
Browse files Browse the repository at this point in the history
  • Loading branch information
ginatrapani committed Feb 27, 2012
1 parent 72379d5 commit 0bb107a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/_lib/controller/class.RSSController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function authControl() {
$crawler_last_run = strtotime($freshest_instance->crawler_last_run);
}
if ($freshest_instance && $crawler_last_run < time() - $rss_crawler_refresh_rate*60) {
$crawler_run_url = $base_url.'run.php?'.sprintf('un=%s&as=%s', $email, $owner->api_key);
$crawler_run_url = $base_url.'crawler/run.php?'.sprintf('un=%s&as=%s', $email, $owner->api_key);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $crawler_run_url);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); // seconds
Expand Down

0 comments on commit 0bb107a

Please sign in to comment.