From ee47fbf70fc7f67efde6926237e13fc20a664a72 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Mar 2011 14:58:46 +0000 Subject: Refs #3158 namespace file plugin's page scripts git-svn-id: http://code.elgg.org/elgg/trunk@8766 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/file/start.php') 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; -- cgit v1.2.3