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