1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/attach-dl] Moved include of compress class inside function

PHPBB3-11042
This commit is contained in:
Fyorl
2012-08-07 16:59:57 +01:00
parent a0bc902612
commit 773c513ac0
2 changed files with 5 additions and 1 deletions

View File

@@ -1318,7 +1318,6 @@ $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)
{