summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-01-29 19:54:04 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-01-29 19:54:04 +0100
commitc9c6faa5e07ad9dd33da9fb18cc4d146c95fcc49 (patch)
tree52753594cc40724185b599176a7ce6fa5c418fe3 /system
parentc6ad0237eb6957046343ca654ab1c7d26787d466 (diff)
added verbose comment regarding the $v2_override change
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Image_lib.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 16a23f12a..d9ed761c5 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -497,6 +497,12 @@ class CI_Image_lib {
}
// Create The Image
+ //
+ // old conditional which users report cause problems with shared GD libs who report themselves as "2.0 or greater"
+ // it appears that this is no longer the issue that it was in 2004, so we've removed it, retaining it in the comment
+ // below should that ever prove inaccurate.
+ //
+ // if ($this->image_library == 'gd2' AND function_exists('imagecreatetruecolor') AND $v2_override == FALSE)
if ($this->image_library == 'gd2' AND function_exists('imagecreatetruecolor'))
{
$create = 'imagecreatetruecolor';