Improve GD function detection12/head
commit9169cc4680cda92ede5c6718f2c9133565bebd15
authorBharat Mediratta <bharat@menalto.com>
Thu, 25 Apr 2013 22:16:30 +0000 (25 18:16 -0400)
committerBharat Mediratta <bharat@menalto.com>
Fri, 26 Apr 2013 02:25:02 +0000 (25 22:25 -0400)
treee25c91c06702c47a03d49294221bd188e1d17bc5
parent03b07ff9cb893c1849fefaed697d578a474f231f
Improve GD function detection
- Create constants for the function names that we're testing
- Move function array declaration outside of foreach()
- Drop the !isset() calls because it was broken, and it's also
  unnecessary since all the values are guaranteed to be initialized.
classes/Kohana/Image/GD.php