Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/214046
Change subject: Fix path to recaptchalib ...................................................................... Fix path to recaptchalib Bug: T100505 Change-Id: I09a43d426e8398c3a6db1aec15f8519a624aa9eb --- M includes/ConfirmEditHooks.php 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ConfirmEdit refs/changes/46/214046/1 diff --git a/includes/ConfirmEditHooks.php b/includes/ConfirmEditHooks.php index 5f9c338..16dfa11 100644 --- a/includes/ConfirmEditHooks.php +++ b/includes/ConfirmEditHooks.php @@ -144,6 +144,8 @@ * FIXME: This should be done in a better way, e.g. only load the libraray, if really needed. */ public static function onReCaptchaSetup() { - require_once( "ReCaptcha/recaptchalib.php" ); + global $IP; + + require_once( "$IP/extensions/ConfirmEdit/ReCaptcha/recaptchalib.php" ); } } -- To view, visit https://gerrit.wikimedia.org/r/214046 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I09a43d426e8398c3a6db1aec15f8519a624aa9eb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ConfirmEdit Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits