aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index f7642c166..f49c6fc91 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -86,7 +86,7 @@ function file_page_handler($page) {
$page[0] = 'all';
}
- $file_dir = elgg_get_plugins_path() . 'file';
+ $file_dir = elgg_get_plugins_path() . 'file/pages/file';
$page_type = $page[0];
switch ($page_type) {
@@ -107,6 +107,9 @@ function file_page_handler($page) {
set_input('guid', $page[1]);
include "$file_dir/edit.php";
break;
+ case 'search':
+ include "$file_dir/search.php";
+ break;
case 'group':
include "$file_dir/index.php";
break;