aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-08-07 12:00:10 +0100
committerFyorl <gaelreth@gmail.com>2012-08-07 12:00:10 +0100
commit058bf77a397aa49d1dfc76d95b2c2fde124cf984 (patch)
tree5c50a0232541c4111a909a23ac1040c4b4082288 /phpBB/viewtopic.php
parent155b584a68f21d88c5011a3bb3ec9bb118c9c1ca (diff)
downloadforums-058bf77a397aa49d1dfc76d95b2c2fde124cf984.tar
forums-058bf77a397aa49d1dfc76d95b2c2fde124cf984.tar.gz
forums-058bf77a397aa49d1dfc76d95b2c2fde124cf984.tar.bz2
forums-058bf77a397aa49d1dfc76d95b2c2fde124cf984.tar.xz
forums-058bf77a397aa49d1dfc76d95b2c2fde124cf984.zip
[feature/attach-dl] Moved functions_compress include
PHPBB3-11042
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index a4d7c8baa1..a65944742e 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -15,7 +15,6 @@ $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
-include($phpbb_root_path . 'includes/functions_compress.' . $phpEx);
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
// Start session management
@@ -1319,6 +1318,7 @@ $template->assign_vars(array(
'S_HAS_ATTACHMENTS' => !empty($attachments),
));
+require_once $phpbb_root_path . 'includes/functions_compress.' . $phpEx;
$methods = phpbb_gen_download_links('topic_id', $topic_id, $phpbb_root_path, $phpEx);
foreach ($methods as $method)
{