From b5e2dbf292cddd56a8171b4c9cf1d9cf0fb45582 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Mar 2011 15:19:02 +0000 Subject: Fixes #3158 updated search and pages plugins for page handler scripts git-svn-id: http://code.elgg.org/elgg/trunk@8769 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/search/start.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/search/start.php') diff --git a/mod/search/start.php b/mod/search/start.php index ab7aa1c4c..18a0d59e3 100644 --- a/mod/search/start.php +++ b/mod/search/start.php @@ -68,7 +68,9 @@ function search_page_handler($page) { //set_input('search_type', 'tags'); } - include_once('index.php'); + $base_dir = elgg_get_plugins_path() . 'search/pages/search'; + + include_once("$base_dir/index.php"); } /** -- cgit v1.2.3