diff options
author | friendica <info@friendica.com> | 2013-09-09 04:57:55 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-09 04:57:55 -0700 |
commit | 461999356226574920ef0ce7eb8cb47f78cc666a (patch) | |
tree | e52e3535a71087e61d41e9044af67d0cacb5175b | |
parent | 0565a6ef01b7c513be8ee90f805867eb2ed664e8 (diff) | |
parent | 147483f259af3bdc2d34eac3638c576012734100 (diff) | |
download | volse-hubzilla-461999356226574920ef0ce7eb8cb47f78cc666a.tar.gz volse-hubzilla-461999356226574920ef0ce7eb8cb47f78cc666a.tar.bz2 volse-hubzilla-461999356226574920ef0ce7eb8cb47f78cc666a.zip |
Merge https://github.com/friendica/red into zpull
-rwxr-xr-x | boot.php | 11 | ||||
-rw-r--r-- | include/zot.php | 2 |
2 files changed, 12 insertions, 1 deletions
@@ -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 */ 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), |