diff options
Diffstat (limited to 'extensions/ConfirmEdit/FancyCaptcha.php')
-rw-r--r-- | extensions/ConfirmEdit/FancyCaptcha.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extensions/ConfirmEdit/FancyCaptcha.php b/extensions/ConfirmEdit/FancyCaptcha.php index 4204546b..dbc136b8 100644 --- a/extensions/ConfirmEdit/FancyCaptcha.php +++ b/extensions/ConfirmEdit/FancyCaptcha.php @@ -29,6 +29,9 @@ if ( !defined( 'MEDIAWIKI' ) ) { exit; } +require_once dirname( __FILE__ ) . '/ConfirmEdit.php'; +$wgCaptchaClass = 'FancyCaptcha'; + global $wgCaptchaDirectory; $wgCaptchaDirectory = "$wgUploadDirectory/captcha"; // bad default :D @@ -40,8 +43,8 @@ $wgCaptchaSecret = "CHANGE_THIS_SECRET!"; /** * By default the FancyCaptcha rotates among all available captchas. - * Setting $wgCaptchaDeleteOnSolve to true will delete the captcha - * files when they are correctly solved. Thus the user will need + * Setting $wgCaptchaDeleteOnSolve to true will delete the captcha + * files when they are correctly solved. Thus the user will need * something like a cron creating new thumbnails to avoid drying up. */ $wgCaptchaDeleteOnSolve = false; |