more zot6

This commit is contained in:
zotlabs
2017-09-13 20:40:01 -07:00
parent 62d6bada4c
commit b5966041be
4 changed files with 26 additions and 6 deletions

View File

@@ -4188,6 +4188,7 @@ function zot_site_info($channel = null) {
$ret['site']['url'] = z_root();
$ret['site']['url_sig'] = base64url_encode(rsa_sign(z_root(),$signing_key,$sig_method));
$ret['site']['zot_auth'] = z_root() . '/magic';
$ret['site']['key'] = get_config('system','pubkey');
$dirmode = get_config('system','directory_mode');
if(($dirmode === false) || ($dirmode == DIRECTORY_MODE_NORMAL))