-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed checking case insensitive image extensions #10141
Conversation
Replaced strcmp with strcasecmp for checking image extenstions
or just use one time |
@sergeyklay +1 |
That is how I use it while I code, and I did not want to change the programming style of the file
|
@sergeyklay +1 |
@agim-alb Could you please change it to one strtolower? |
…ng images (was imagejpeg)
Changed it using strtolower. Also fixed a bug using imagepng instead of imagejpeg to create png images |
👍 |
Fixed checking case insensitive image extensions
I'v reverted this merge, could you please submit it to the 2.0.x branch? |
Also fixed a bug using imagepng instead of imagejpeg to create png images From pull request phalcon#10141
Oh.. it was a PR to the master |
Replaced strcmp with strcasecmp for checking image extenstions