summaryrefslogtreecommitdiff
path: root/extensions/ConfirmEdit/FancyCaptcha.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-04-26 18:23:31 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-04-26 18:23:31 +0200
commitc4372dd38a4d109b4f3881ea63b667e33adbe503 (patch)
treee8e6dae1229a68c26b7a348c73dc0c8c77da97e5 /extensions/ConfirmEdit/FancyCaptcha.php
parentcf566324cfb218f0c7323d97d2a103bbb8d60ba4 (diff)
Update to MediaWiki 1.18.3
Diffstat (limited to 'extensions/ConfirmEdit/FancyCaptcha.php')
-rw-r--r--extensions/ConfirmEdit/FancyCaptcha.php7
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;