Message boards : Web interfaces : image.inc : GD version detect buggy
Message board moderation
Author | Message |
---|---|
Send message Joined: 27 Jun 06 Posts: 305 |
In Spinhenge, BOINC detects $newGD = true but still they don't have imageAntiAlias() in their LibGD. Maybe as a first quick solution you could prefix imageAntiAlias() with a @ in order to make PHP ignore the error. imageAntiAlias() is only available in certain PHP setups : This function is only available if PHP is compiled with the bundled version of the GD library. The current detect $newGD = (strstr($gd_info["GD Version"], "2.0")!=""); in image.inc seems not to hit the point. p.s.: Afaik. CPDN had exactly the same problem some time ago ��u� |
Send message Joined: 27 Jun 06 Posts: 305 |
What about this : $newGD = function_exists('imageAntiAlias'); ��u� |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.