diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 14:58:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 14:58:46 +0000 |
commit | ee47fbf70fc7f67efde6926237e13fc20a664a72 (patch) | |
tree | f1c5430539b3acf9dfb708595f42f29f57aa17de /mod/file/start.php | |
parent | 52f127f23c21675ff7e0d35f1a94741c77e3ed52 (diff) | |
download | elgg-ee47fbf70fc7f67efde6926237e13fc20a664a72.tar.gz elgg-ee47fbf70fc7f67efde6926237e13fc20a664a72.tar.bz2 |
Refs #3158 namespace file plugin's page scripts
git-svn-id: http://code.elgg.org/elgg/trunk@8766 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/start.php')
-rw-r--r-- | mod/file/start.php | 5 |
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; |