Merge https://github.com/friendica/red into zpull
This commit is contained in:
commit
4619993562
11
boot.php
11
boot.php
@ -346,6 +346,17 @@ define ( 'XCHAN_FLAGS_HIDDEN', 0x0001);
|
|||||||
define ( 'XCHAN_FLAGS_ORPHAN', 0x0002);
|
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
|
* Tag/term types
|
||||||
*/
|
*/
|
||||||
|
@ -1538,7 +1538,7 @@ function import_site($arr,$pubkey) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
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 )",
|
values ( '%s', %d, %d, '%s', '%s', %d )",
|
||||||
dbesc(htmlentities($arr['url'],ENT_COMPAT,'UTF-8',false)),
|
dbesc(htmlentities($arr['url'],ENT_COMPAT,'UTF-8',false)),
|
||||||
intval($site_directory),
|
intval($site_directory),
|
||||||
|
Reference in New Issue
Block a user