| @@ 298-303 (lines=6) @@ | ||
| 295 | return false; |
|
| 296 | } |
|
| 297 | ||
| 298 | if ($width > $height) { |
|
| 299 | $diff = $width / $height; |
|
| 300 | if ($diff > 5) { |
|
| 301 | return true; |
|
| 302 | } |
|
| 303 | } |
|
| 304 | ||
| 305 | if ($height > $width) { |
|
| 306 | $diff = $height / $width; |
|
| @@ 305-310 (lines=6) @@ | ||
| 302 | } |
|
| 303 | } |
|
| 304 | ||
| 305 | if ($height > $width) { |
|
| 306 | $diff = $height / $width; |
|
| 307 | if ($diff > 5) { |
|
| 308 | return true; |
|
| 309 | } |
|
| 310 | } |
|
| 311 | ||
| 312 | return false; |
|
| 313 | } |
|