Browse Source

New switch that restricts the search only for registered users

pull/1880/head
Michael Vogel 6 years ago
parent
commit
d9f23dbb20
  1. 7
      mod/search.php

7
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');

Loading…
Cancel
Save