mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
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
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user