1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

we included a check for getimagesize() existance... now we again can suppress notices while running this function.

git-svn-id: file:///svn/phpbb/trunk@7646 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-05-19 16:40:56 +00:00
parent 47d3e4d9b8
commit 4c44eddc90
10 changed files with 22 additions and 9 deletions

View File

@@ -280,7 +280,7 @@ class bbcode_firstpass extends bbcode
if ($config['max_' . $this->mode . '_img_height'] || $config['max_' . $this->mode . '_img_width'])
{
$stats = getimagesize($in);
$stats = @getimagesize($in);
if ($stats === false)
{