X-Git-Url: https://git.toastfreeware.priv.at/toast/cookiecaptcha.git/blobdiff_plain/a808bd44dc345493d3baddee8a84e4c19fb6004f..6207682c65e21b25ca3ca186c8944a2340da2cae:/MathCaptcha.class.php diff --git a/MathCaptcha.class.php b/MathCaptcha.class.php index db506a3..66567e0 100644 --- a/MathCaptcha.class.php +++ b/MathCaptcha.class.php @@ -11,6 +11,7 @@ class MathCaptcha extends SimpleCaptcha { list( $sum, $answer ) = $this->pickSum(); $index = $this->storeCaptcha( array('answer' => $answer ) ); $resultArr['captcha']['type'] = 'math'; + $resultArr['captcha']['mime'] = 'text/tex'; $resultArr['captcha']['id'] = $index; $resultArr['captcha']['question'] = $sum; }