X-Git-Url: https://git.toastfreeware.priv.at/toast/cookiecaptcha.git/blobdiff_plain/10f78a6edd89724422e141d660124413af9700e0..55acc4e981d9ae6cc00ae48306ac6a78bce66085:/FancyCaptcha.php diff --git a/FancyCaptcha.php b/FancyCaptcha.php index 14a6341..3d300fc 100644 --- a/FancyCaptcha.php +++ b/FancyCaptcha.php @@ -37,6 +37,6 @@ $wgCaptchaDirectoryLevels = 0; // To break into subdirectories global $wgCaptchaSecret; $wgCaptchaSecret = "CHANGE_THIS_SECRET!"; -$dir = dirname(__FILE__) . '/'; -$wgExtensionMessagesFiles['FancyCaptcha'] = $dir . 'FancyCaptcha.i18n.php'; -$wgAutoloadClasses['FancyCaptcha'] = $dir . 'FancyCaptcha.class.php'; +$wgExtensionMessagesFiles['FancyCaptcha'] = dirname(__FILE__).'/FancyCaptcha.i18n.php'; +$wgAutoloadClasses['FancyCaptcha'] = dirname( __FILE__ ) . '/FancyCaptcha.class.php'; +