aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-04-11 19:51:38 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-04-11 19:51:38 +0000
commit75eef6bfd7bbfdbb5a359e42015509197ad9d4ce (patch)
tree07567e524876d2d295af9cd22535e63c01ccdea5 /phpBB/includes/functions_posting.php
parentda775f2286c8d8b2003e2bd223c8bae8d7cfc1dc (diff)
downloadforums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar.gz
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar.bz2
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar.xz
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.zip
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
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
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));