mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Changes to include location + some other misc stuff
git-svn-id: file:///svn/phpbb/trunk@646 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -20,9 +20,10 @@
|
||||
*
|
||||
*
|
||||
***************************************************************************/
|
||||
include('extension.inc');
|
||||
include('common.'.$phpEx);
|
||||
include('includes/bbcode.'.$phpEx);
|
||||
$phpbb_root_path = "./";
|
||||
include($phpbb_root_path . 'extension.inc');
|
||||
include($phpbb_root_path . 'common.'.$phpEx);
|
||||
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
|
||||
|
||||
$page_title = $lang['View_topic'] ." - $topic_title";
|
||||
$pagetype = "viewtopic";
|
||||
@@ -195,7 +196,7 @@ $ranksrow = $db->sql_fetchrowset($ranksresult);
|
||||
//
|
||||
// Dump out the page header and oad viewtopic body template
|
||||
//
|
||||
include('includes/page_header.'.$phpEx);
|
||||
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
|
||||
|
||||
$template->set_filenames(array(
|
||||
"body" => "viewtopic_body.tpl",
|
||||
@@ -496,6 +497,6 @@ $template->assign_vars(array(
|
||||
|
||||
$template->pparse("body");
|
||||
|
||||
include('includes/page_tail.'.$phpEx);
|
||||
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
||||
|
||||
?>
|
Reference in New Issue
Block a user