Easier installation: is now automaticaly set for every additional plugin.
[toast/cookiecaptcha.git] / MathCaptcha.php
1 <?php
2
3 /**
4  * Captcha class using simple sums and the math renderer
5  * Not brilliant, but enough to dissuade casual spam bots
6  *
7  * @file
8  * @ingroup Extensions
9  * @author Rob Church <robchur@gmail.com>
10  * @copyright © 2006 Rob Church
11  * @licence GNU General Public Licence 2.0
12  */
13
14 if ( !defined( 'MEDIAWIKI' ) ) {
15         exit;
16 }
17
18 require_once dirname( __FILE__ ) . '/ConfirmEdit.php';
19 $wgCaptchaClass = 'MathCaptcha';
20
21 $wgAutoloadClasses['MathCaptcha'] = dirname( __FILE__ ) . '/MathCaptcha.class.php';