diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-08 17:30:46 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-08 17:30:46 -0700 |
commit | c3cd613f427b6aef483fce0c5bd1cebcefba8891 (patch) | |
tree | 504be8607f6b5021bb8c05bf865c4a572c9a27a3 /Zotlabs/Module/Search.php | |
parent | f2078b25adc71e8c9b1b197864bbb3f4aab6fb8b (diff) | |
download | volse-hubzilla-c3cd613f427b6aef483fce0c5bd1cebcefba8891.tar.gz volse-hubzilla-c3cd613f427b6aef483fce0c5bd1cebcefba8891.tar.bz2 volse-hubzilla-c3cd613f427b6aef483fce0c5bd1cebcefba8891.zip |
extend AC
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r-- | Zotlabs/Module/Search.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php index 55e0e746f..43464ad8b 100644 --- a/Zotlabs/Module/Search.php +++ b/Zotlabs/Module/Search.php @@ -66,6 +66,10 @@ class Search extends \Zotlabs\Web\Controller { $search = substr($search,1); goaway(z_root() . '/directory' . '?f=1&navsearch=1&search=' . $search); } + if(strpos($search,'!') === 0) { + $search = substr($search,1); + goaway(z_root() . '/directory' . '?f=1&navsearch=1&search=' . $search); + } if(strpos($search,'?') === 0) { $search = substr($search,1); goaway(z_root() . '/help' . '?f=1&navsearch=1&search=' . $search); |