Was testing the attachment handler after rewriting post.js to save another 60+ bytes off it...[1]
Fatal error: Call to undefined function checkGD() in Sources\Subs-Graphics.php on line 203
Call Stack
# Time Memory Function Location
1 0.0006 827208 {main}( ) ..\index.php:0
2 0.0440 7867680 Post2( ) ..\index.php:198
3 0.0827 14061376 createAttachment( ) ..\Post2.php:683
4 0.0881 14258216 reencodeImage( ) ..\Subs-Post.php:1699
There's a checkGD2() function defined in install.php but that's all. Is this is GD-only function...? If yes, we should use function_exists() on it first...
Fatal error: Call to undefined function checkGD() in Sources\Subs-Graphics.php on line 203
Call Stack
# Time Memory Function Location
1 0.0006 827208 {main}( ) ..\index.php:0
2 0.0440 7867680 Post2( ) ..\index.php:198
3 0.0827 14061376 createAttachment( ) ..\Post2.php:683
4 0.0881 14258216 reencodeImage( ) ..\Subs-Post.php:1699
There's a checkGD2() function defined in install.php but that's all. Is this is GD-only function...? If yes, we should use function_exists() on it first...
| 1. | I should say that I simply turned its methods into private ones, so basically you can't call them from outside (except for checkActive because it's actually used outside), I know it's not something I should do without thinking because one might want to add a prototype for a Wedge object later and they won't be able to access its private variables -- but still, I don't want to put the extra load on everyone when we have no idea whether people will actually want to extend an object... If they do want to, I'll just consider turning the object back into a list of prototypes. Is that okay with you? |



