summaryrefslogtreecommitdiff
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
parent81be3ba123fa26c29ab157288530ffaec9d0930f (diff)
Use full path includes (PHP 5.4 compatibility)
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--extensions/FluxBBAuthPlugin.php6
-rw-r--r--extensions/FunnyQuestion/FunnyQuestion.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/extensions/FluxBBAuthPlugin.php b/extensions/FluxBBAuthPlugin.php
index e48c431c..fa54d807 100644
--- a/extensions/FluxBBAuthPlugin.php
+++ b/extensions/FluxBBAuthPlugin.php
@@ -4,13 +4,13 @@ $wgHooks['isValidPassword'][] = 'FluxBBAuthPlugin::isValidPassword';
$wgExtensionCredits['other'][] = array(
'name' => 'FluxBBAuthPlugin',
- 'version' => '1.1',
+ 'version' => '1.2',
'description' => 'Use FluxBB accounts in MediaWiki',
'author' => 'Pierre Schmitz',
- 'url' => 'https://users.archlinux.de/~pierre/'
+ 'url' => 'https://pierre-schmitz.com/'
);
-require_once('includes/AuthPlugin.php');
+require_once(__DIR__.'/../includes/AuthPlugin.php');
class FluxBBAuthPlugin extends AuthPlugin {
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';