mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- some bugfixes
- using E_USER_WARNING if an error occurred within the ACP (sadly not able to use it as a default for trigger_error - it seems to be hardcoded in PHP) git-svn-id: file:///svn/phpbb/trunk@6320 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -423,8 +423,10 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage
|
||||
*/
|
||||
function get_img_size_format($width, $height)
|
||||
{
|
||||
global $config;
|
||||
|
||||
// Maximum Width the Image can take
|
||||
$max_width = 400;
|
||||
$max_width = ($config['img_max_thumb_width']) ? $config['img_max_thumb_width'] : 400;
|
||||
|
||||
if ($width > $height)
|
||||
{
|
||||
|
Reference in New Issue
Block a user