From fd540cd5969f1c1d7234874340daa1aeb007ecfe Mon Sep 17 00:00:00 2001 From: Michael Meer Date: Mon, 9 Sep 2013 10:30:37 +0200 Subject: just a typo --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zot.php b/include/zot.php index 88a7f4529..e9084496c 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1538,7 +1538,7 @@ function import_site($arr,$pubkey) { } } else { - $r = q("insert into site ( site_url, site_acccess, site_flags, site_update, site_directory, site_register ) + $r = q("insert into site ( site_url, site_access, site_flags, site_update, site_directory, site_register ) values ( '%s', %d, %d, '%s', '%s', %d )", dbesc(htmlentities($arr['url'],ENT_COMPAT,'UTF-8',false)), intval($site_directory), -- cgit v1.2.3 From f9e6e1c3d21b3503ed723de40a953d48ceb4ca32 Mon Sep 17 00:00:00 2001 From: Michael Meer Date: Mon, 9 Sep 2013 12:18:39 +0200 Subject: Preparation to maintain HubLocs from adminpanel. This should act as basis for a kind of traffic light to get an overview. --- boot.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/boot.php b/boot.php index 2f6fda1f0..b4b0c1cc7 100755 --- a/boot.php +++ b/boot.php @@ -346,6 +346,17 @@ define ( 'XCHAN_FLAGS_HIDDEN', 0x0001); define ( 'XCHAN_FLAGS_ORPHAN', 0x0002); +/* + * Traficlights for Administration of HubLoc + * to detect problems in inter server communication + */ +define ('HUBLOC_NOTUSED', 0x0000); +define ('HUBLOC_SEND_ERROR', 0x0001); +define ('HUBLOC_RECEIVE_ERROR', 0x0002); +define ('HUBLOC_WORKS', 0x0004); +define ('HUBLOC_OFFLINE', 0x0008); + + /** * Tag/term types */ -- cgit v1.2.3