From 75eef6bfd7bbfdbb5a359e42015509197ad9d4ce Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 11 Apr 2003 19:51:38 +0000 Subject: changed $message to be a class variable, added attachment category constants (now images are displayed inlined by default... no wrong assignments anymore, if you wondered why your zip file got streamed. ;)) git-svn-id: file:///svn/phpbb/trunk@3816 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_posting.php') diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 48ee7f3060..f927284732 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1724,7 +1724,7 @@ function phpbb_unlink($filename, $mode = false) $res = @ftp_delete($conn_id, $filename); if (!$res) { - if (ATTACH_DEBUG) + if (defined('DEBUG_EXTRA')) { $add = ( $mode == MODE_THUMBNAIL ) ? ('/' . THUMB_DIR) : ''; message_die(GENERAL_ERROR, sprintf($lang['Ftp_error_delete'], $attach_config['ftp_path'] . $add)); -- cgit v1.2.1