From 5db51fd2547d674e85a6f603746cc4febc9cf6a9 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 25 Apr 2012 22:28:27 +0200 Subject: Use full path includes (PHP 5.4 compatibility) Signed-off-by: Pierre Schmitz --- extensions/FunnyQuestion/FunnyQuestion.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/FunnyQuestion') diff --git a/extensions/FunnyQuestion/FunnyQuestion.php b/extensions/FunnyQuestion/FunnyQuestion.php index 8929211e..8db54617 100644 --- a/extensions/FunnyQuestion/FunnyQuestion.php +++ b/extensions/FunnyQuestion/FunnyQuestion.php @@ -2,10 +2,10 @@ $wgExtensionCredits['other'][] = array( 'name' => 'FunnyQuestion', - 'version' => '2.1', + 'version' => '2.2', 'description' => 'Challenge-response authentication', 'author' => 'Pierre Schmitz', - 'url' => 'https://www.archlinux.de' + 'url' => 'https://pierre-schmitz.com/' ); global $wgFunnyQuestions; @@ -18,8 +18,8 @@ $wgFunnyQuestionTimeout = 3600; $wgFunnyQuestionWait = 2; $wgFunnyQuestionRemember = 3600*24; -$wgAutoloadClasses['FunnyQuestion'] = dirname(__FILE__) . '/FunnyQuestion.body.php'; -$wgExtensionMessagesFiles['FunnyQuestion'] = dirname( __FILE__ ) . '/FunnyQuestion.i18n.php'; +$wgAutoloadClasses['FunnyQuestion'] = __DIR__ . '/FunnyQuestion.body.php'; +$wgExtensionMessagesFiles['FunnyQuestion'] = __DIR__ . '/FunnyQuestion.i18n.php'; if ($wgGroupPermissions['*']['edit']) { $wgHooks['EditPage::showEditForm:fields'][] = 'FunnyQuestion::addFunnyQuestionToEditPage'; -- cgit v1.2.3-54-g00ecf