aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-13 16:14:37 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-13 16:14:37 +0000
commitea983410993371bcc63e1a120fe17bed964f5f08 (patch)
tree5bb1cc1bd365b04ba40aba256c9a4b82982a691e /phpBB/search.php
parent79d57c449fc190ce693d2ecfdbb0dc36e8e82be7 (diff)
downloadforums-ea983410993371bcc63e1a120fe17bed964f5f08.tar
forums-ea983410993371bcc63e1a120fe17bed964f5f08.tar.gz
forums-ea983410993371bcc63e1a120fe17bed964f5f08.tar.bz2
forums-ea983410993371bcc63e1a120fe17bed964f5f08.tar.xz
forums-ea983410993371bcc63e1a120fe17bed964f5f08.zip
Changes to include location + some other misc stuff
git-svn-id: file:///svn/phpbb/trunk@646 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 7ada235850..cc40e6176f 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -27,9 +27,9 @@
//
// PSO : 2001
//
-
-include('extension.inc');
-include('common.'.$phpEx);
+$phpbb_root_path = "./";
+include($phpbb_root_path . 'extension.inc');
+include($phpbb_root_path . 'common.'.$phpEx);
$pagetype = "search";
$page_title = "Search Forums";
@@ -380,7 +380,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
//
// Output header
//
- include('includes/page_header.'.$phpEx);
+ include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
"body" => "search_results_body.tpl",
@@ -473,7 +473,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
$template->pparse("body");
- include('includes/page_tail.'.$phpEx);
+ include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
}
}
}
@@ -520,7 +520,7 @@ for($i = 0; $i < count($sortby_types); $i++)
$s_sortby .= "<option value=\"$i\">".$sortby_types[$i]."</option>";
}
-include('includes/page_header.'.$phpEx);
+include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
"body" => "search_body.tpl",
@@ -553,6 +553,6 @@ $template->assign_vars(array(
$template->pparse("body");
-include('includes/page_tail.'.$phpEx);
+include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?> \ No newline at end of file