includes/captcha.php
changeset 558 fd082123f2f4
parent 536 218a627eb53e
child 685 17ebe24cdf85
--- a/includes/captcha.php	Sat Jun 07 12:39:24 2008 -0400
+++ b/includes/captcha.php	Sat Jun 07 12:40:29 2008 -0400
@@ -166,10 +166,10 @@
     $engine = getConfig('captcha_engine');
     if ( !$engine )
     {
-      $engine = 'bc';
+      $engine = 'freecap';
     }
   }
-  if( !extension_loaded("gd") || !function_exists("gd_info") || !function_exists('imagettftext') )
+  if( !extension_loaded("gd") || !function_exists("gd_info") || !function_exists('imagettftext') || !function_exists('imagepng') || !function_exists('imagecreatefromjpeg') )
   {
     $engine = 'failsafe';
   }