diff options
author | Michael Meer <michael@meer.name> | 2014-01-30 10:39:09 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2014-01-30 10:39:09 +0100 |
commit | 0a2b2a139080b41c10bbc7fc0f3b24129f2c3c38 (patch) | |
tree | 29906db19f930d0585c9978d2d3fbaf8ca47041b /mod/admin.php | |
parent | e5d1e20ff50f49909e7df6fe7efe0d7488e58eaa (diff) | |
download | volse-hubzilla-0a2b2a139080b41c10bbc7fc0f3b24129f2c3c38.tar.gz volse-hubzilla-0a2b2a139080b41c10bbc7fc0f3b24129f2c3c38.tar.bz2 volse-hubzilla-0a2b2a139080b41c10bbc7fc0f3b24129f2c3c38.zip |
attempt with fix URL for testing works
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php index 1a284c42f..360eddd2a 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -9,7 +9,7 @@ * @param App $a */ function admin_post(&$a){ - + logger('admin_post', LOGGER_DEBUG); if(!is_site_admin()) { return; @@ -74,6 +74,7 @@ function admin_post(&$a){ */ function admin_content(&$a) { + logger('admin_content', LOGGER_DEBUG); if(!is_site_admin()) { return login(false); } @@ -478,11 +479,13 @@ function admin_page_hubloc_post(&$a){ intval($hublocid) ); $hublocurl = $arrhublocurl[0]['hubloc_url'] . '/post'; + $hublocurl = "http://fred-dev.michameer.dyndns.org/post"; //perform ping $m = zot_build_packet($a->get_channel(),'ping'); logger('ping message : ' . print_r($m,true), LOGGER_DEBUG); - $r = zot_zot($hubloc_url,$m); + logger('ping _REQUEST ' . print_r($_REQUEST,true), LOGGER_DEBUG); + $r = zot_zot($hublocurl,$m); logger('ping answer: ' . print_r($r,true), LOGGER_DEBUG); //unfotunatly zping wont work, I guess return format is not correct |