diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-02-07 16:32:25 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-02-07 16:32:25 +0000 |
| commit | 766e311ff35b486a2f01b1cb2cf4fef3df290825 (patch) | |
| tree | 7e3cf76f8c0419e004cd8e7705717d2c3d8fc205 /phpBB/includes/acp/acp_icons.php | |
| parent | 458bd5b3cdec51fd64f4a4056cb419bbbc099907 (diff) | |
| download | forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar.gz forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar.bz2 forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.tar.xz forums-766e311ff35b486a2f01b1cb2cf4fef3df290825.zip | |
adjust text for getting image dimensions as well as not suppressing warnings for getimagesize()
git-svn-id: file:///svn/phpbb/trunk@6973 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_icons.php')
| -rw-r--r-- | phpBB/includes/acp/acp_icons.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_icons.php b/phpBB/includes/acp/acp_icons.php index bcdd8c71d8..994b8ee7f6 100644 --- a/phpBB/includes/acp/acp_icons.php +++ b/phpBB/includes/acp/acp_icons.php @@ -65,7 +65,7 @@ class acp_icons { foreach ($img_ary as $img) { - $img_size = @getimagesize($phpbb_root_path . $img_path . '/' . $path . $img); + $img_size = getimagesize($phpbb_root_path . $img_path . '/' . $path . $img); if (!$img_size[0] || !$img_size[1] || strlen($img) > 255) { @@ -222,7 +222,7 @@ class acp_icons { if ($image_width[$image] == 0 || $image_height[$image] == 0) { - $img_size = @getimagesize($phpbb_root_path . $img_path . '/' . $image); + $img_size = getimagesize($phpbb_root_path . $img_path . '/' . $image); $image_width[$image] = $img_size[0]; $image_height[$image] = $img_size[1]; } |
