aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-27 17:24:05 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-27 17:24:05 +0100
commitc766cf9565129b762998e709f5ee7c3eb14cffca (patch)
treec462e39540d6f63e30d10aca1c64ffefcfa4d4ef /mod/dirsearch.php
parente4674142c6a205651d4bb207aa038e6d089da73f (diff)
parent722d7ff38d5bbf49a7c990d9219998c2c8a5b58f (diff)
downloadvolse-hubzilla-c766cf9565129b762998e709f5ee7c3eb14cffca.tar.gz
volse-hubzilla-c766cf9565129b762998e709f5ee7c3eb14cffca.tar.bz2
volse-hubzilla-c766cf9565129b762998e709f5ee7c3eb14cffca.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 388e5f3ac..bc2fa108f 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -75,6 +75,8 @@ function dirsearch_content(&$a) {
$kw = ((x($_REQUEST,'kw')) ? intval($_REQUEST['kw']) : 0 );
$forums = ((array_key_exists('pubforums',$_REQUEST)) ? intval($_REQUEST['pubforums']) : 0);
+ if(get_config('system','disable_directory_keywords'))
+ $kw = 0;
// by default use a safe search