aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorMichael Meer <michael@meer.name>2014-01-22 09:16:22 +0100
committerMichael Meer <michael@meer.name>2014-01-22 09:16:22 +0100
commitf28b21f99d563b08e9d0ddb4a27fb223ad1ce432 (patch)
tree7d383d393cb49d226c107d00fc738531a7706fb4 /mod/admin.php
parent3f49114a05f51b4d7ad11898e75fe512c9a9e774 (diff)
downloadvolse-hubzilla-f28b21f99d563b08e9d0ddb4a27fb223ad1ce432.tar.gz
volse-hubzilla-f28b21f99d563b08e9d0ddb4a27fb223ad1ce432.tar.bz2
volse-hubzilla-f28b21f99d563b08e9d0ddb4a27fb223ad1ce432.zip
start with hubloc ping
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 749b94de2..a373fa772 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -457,6 +457,15 @@ function admin_page_site(&$a) {
}
function admin_page_hubloc_post(&$a){
check_form_security_token_redirectOnErr('/admin/hubloc', 'admin_hubloc');
+
+ //prepare for ping
+ logger('POST input: '.$_POST , LOGGER_DEBUG);
+ //perform ping
+ //handle results and set the hubloc flags in db to make results visible
+
+ //in case of repair store new pub key for tested hubloc (all channel with this hubloc) in db
+ //after repair set hubloc flags to 0
+
goaway($a->get_baseurl(true) . '/admin/hubloc' );
return;
}