diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-13 16:14:37 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-13 16:14:37 +0000 |
| commit | ea983410993371bcc63e1a120fe17bed964f5f08 (patch) | |
| tree | 5bb1cc1bd365b04ba40aba256c9a4b82982a691e /phpBB/viewtopic.php | |
| parent | 79d57c449fc190ce693d2ecfdbb0dc36e8e82be7 (diff) | |
| download | forums-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/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index b95a1de89c..70743dc40a 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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); ?>
\ No newline at end of file |
