diff options
author | mrjive <mrjive@mrjive.it> | 2016-01-28 23:19:13 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2016-01-28 23:19:13 +0100 |
commit | 28943af494eae225b256b9771a5699a1b05d7a2f (patch) | |
tree | 1f135da64c0935053f468281f8353e8279a18448 /mod/dirsearch.php | |
parent | c49e4f52ae83441c4a1dcf52e433dded8d767679 (diff) | |
parent | 5f1eb18da4d6380b64e83e0eeda6f1037de2fec9 (diff) | |
download | volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.tar.gz volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.tar.bz2 volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.zip |
Merge pull request #19 from redmatrix/master
updating from original codebase
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r-- | mod/dirsearch.php | 2 |
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 |