diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-16 20:47:40 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-16 20:47:40 -0700 |
commit | facca43e2de1c3c30a34f38bbe7025b7216db13f (patch) | |
tree | 8d4180967a416d77ccb25c8c95707a5f76390468 /include/poller.php | |
parent | ce515ac2e815cf6c392691743393ea6ebc42c832 (diff) | |
download | volse-hubzilla-facca43e2de1c3c30a34f38bbe7025b7216db13f.tar.gz volse-hubzilla-facca43e2de1c3c30a34f38bbe7025b7216db13f.tar.bz2 volse-hubzilla-facca43e2de1c3c30a34f38bbe7025b7216db13f.zip |
no more url in cmdline
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/poller.php b/include/poller.php index 0ef4d126a..e946dabf6 100644 --- a/include/poller.php +++ b/include/poller.php @@ -15,10 +15,9 @@ require_once('datetime.php'); require_once('simplepie/simplepie.inc'); require_once('include/items.php'); -if($argc < 2) - exit; -dbg(3); - $a->set_baseurl($argv[1]); + + + $a->set_baseurl(get_config('system','url')); $contacts = q("SELECT * FROM `contact` WHERE `dfrn-id` != '' AND `self` = 0 AND `blocked` = 0 AND `readonly` = 0 ORDER BY RAND()"); |