diff --git a/mod/search.php b/mod/search.php index d9a2852dd..251dd4778 100644 --- a/mod/search.php +++ b/mod/search.php @@ -94,6 +94,13 @@ function search_content(&$a) { return; } + if(get_config('system','local_search') AND !local_user()) { + notice(t('Public access denied.').EOL); + return; + //http_status_exit(403); + //killme(); + } + nav_set_selected('search');