aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorFyorl <gaelreth@gmail.com>2012-08-07 16:59:57 +0100
committerFyorl <gaelreth@gmail.com>2012-08-07 16:59:57 +0100
commit773c513ac0a0d3b580462a5eec2f65782f26b3c3 (patch)
tree9f09ac64c0496d5512005a05cf9a38872906349d /phpBB/includes/functions_display.php
parenta0bc902612b4d29846ed21712f54c0f57150bed8 (diff)
downloadforums-773c513ac0a0d3b580462a5eec2f65782f26b3c3.tar
forums-773c513ac0a0d3b580462a5eec2f65782f26b3c3.tar.gz
forums-773c513ac0a0d3b580462a5eec2f65782f26b3c3.tar.bz2
forums-773c513ac0a0d3b580462a5eec2f65782f26b3c3.tar.xz
forums-773c513ac0a0d3b580462a5eec2f65782f26b3c3.zip
[feature/attach-dl] Moved include of compress class inside function
PHPBB3-11042
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 6164885732..1f541a7733 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1298,6 +1298,11 @@ function get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $
*/
function phpbb_gen_download_links($param_key, $param_val, $phpbb_root_path, $phpEx)
{
+ if (!class_exists('compress'))
+ {
+ require $phpbb_root_path . 'includes/functions_compress.' . $phpEx;
+ }
+
$methods = compress::methods();
$links = array();