provide ability to search webpages (either public or which contain the observer in the acl) in addition to conversations

This commit is contained in:
zotlabs
2017-05-30 17:06:50 -07:00
parent e48d5383ce
commit 893ae17b99
3 changed files with 9 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class Search extends \Zotlabs\Web\Controller {
if((get_config('system','block_public')) || (get_config('system','block_public_search'))) {
if ((! local_channel()) && (! remote_channel())) {
notice( t('Public access denied.') . EOL);
return;
return;
}
}
@@ -144,7 +144,7 @@ class Search extends \Zotlabs\Web\Controller {
}
$item_normal = item_normal();
$item_normal = item_normal_search();
$pub_sql = public_permissions_sql($observer_hash);
require_once('include/channel.php');