[dokuwiki] Bug in fetch.php (was Imagemagick)

Can it be, that this is a bug in fetch.php?

  if(($conf['gdlib']>1) && function_exists("imagecreatetruecolor")){

That means $conf['gdlib'] has to be greater than 1 to work. But according to 
http://wiki.splitbrain.org/wiki%3Aconfig#gdlib I set it to one. And so it 
didn't use @imagecreatetruecolor.

I now changed it to 

if(($conf['gdlib']>0) && function_exists("imagecreatetruecolor")){

And it works. What do you think? Bug?

Regards,

Stephan
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: