mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
hmm, we never had such an object. :)
git-svn-id: file:///svn/phpbb/trunk@4407 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
9041b88501
commit
3623207f88
@ -456,7 +456,7 @@ function upload_attachment($filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check Filesize
|
// check Filesize
|
||||||
if ($allowed_filesize != 0 && $filedata['filesize'] > $allowed_filesize && !$acl->gets('m_', 'a_'))
|
if ($allowed_filesize != 0 && $filedata['filesize'] > $allowed_filesize && !$auth->acl_gets('m_', 'a_'))
|
||||||
{
|
{
|
||||||
$size_lang = ($allowed_filesize >= 1048576) ? $user->lang['MB'] : ( ($allowed_filesize >= 1024) ? $user->lang['KB'] : $user->lang['BYTES'] );
|
$size_lang = ($allowed_filesize >= 1048576) ? $user->lang['MB'] : ( ($allowed_filesize >= 1024) ? $user->lang['KB'] : $user->lang['BYTES'] );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user