summaryrefslogtreecommitdiff
path: root/extensions/FunnyQuestion
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-04-25 22:28:27 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-04-25 22:29:51 +0200
commit5db51fd2547d674e85a6f603746cc4febc9cf6a9 (patch)
tree595b77e3649d4bba2889e70c63dd3867196eab86 /extensions/FunnyQuestion
parent81be3ba123fa26c29ab157288530ffaec9d0930f (diff)
Use full path includes (PHP 5.4 compatibility)
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'extensions/FunnyQuestion')
-rw-r--r--extensions/FunnyQuestion/FunnyQuestion.php8
1 files changed, 4 insertions, 4 deletions
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';