aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-16 20:47:40 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-16 20:47:40 -0700
commitfacca43e2de1c3c30a34f38bbe7025b7216db13f (patch)
tree8d4180967a416d77ccb25c8c95707a5f76390468 /include/poller.php
parentce515ac2e815cf6c392691743393ea6ebc42c832 (diff)
downloadvolse-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.php7
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()");