From: Henry S. <kel...@ph...> - 2009-08-04 15:35:37
|
Author: Kellanved Date: Tue Aug 4 16:34:45 2009 New Revision: 9921 Log: use new flag to place captcha errors in the error log (if debug is set) Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/captcha_abstract.php Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/captcha_abstract.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/captcha_abstract.php (original) --- branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/captcha_abstract.php Tue Aug 4 16:34:45 2009 *************** *** 66,71 **** --- 66,72 ---- $this->seed -= 0x7fffffff * floor($this->seed / 0x7fffffff); $captcha = new captcha(); + define('IMAGE_OUTPUT', 1); $captcha->execute($this->code, $this->seed); } *************** *** 80,85 **** --- 81,87 ---- } } $captcha = new captcha(); + define('IMAGE_OUTPUT', 1); $captcha->execute($this->code, $this->seed); } |