mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/attach-dl] Moved functions_compress include
PHPBB3-11042
This commit is contained in:
parent
155b584a68
commit
058bf77a39
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,6 @@ $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
|
||||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
include($phpbb_root_path . 'common.' . $phpEx);
|
include($phpbb_root_path . 'common.' . $phpEx);
|
||||||
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
|
||||||
include($phpbb_root_path . 'includes/functions_compress.' . $phpEx);
|
|
||||||
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
|
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
|
||||||
|
|
||||||
// Start session management
|
// Start session management
|
||||||
|
@ -1319,6 +1318,7 @@ $template->assign_vars(array(
|
||||||
'S_HAS_ATTACHMENTS' => !empty($attachments),
|
'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);
|
$methods = phpbb_gen_download_links('topic_id', $topic_id, $phpbb_root_path, $phpEx);
|
||||||
foreach ($methods as $method)
|
foreach ($methods as $method)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue