aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/search.php b/mod/search.php
index 6f40ad4b0..64a1318b2 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -113,8 +113,8 @@ function search_content(&$a) {
$search = substr($search,1);
}
if(strpos($search,'@') === 0) {
- require_once('mod/dirfind.php');
- return dirfind_content($a);
+ $search = substr($search,1);
+ goaway(z_root() . '/directory' . '$f=1&search=' . $search);
}
if(! $search)