Index: trunk/extensions/ArticleFeedback/ArticleFeedback.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | */ |
13 | 13 | |
14 | 14 | /* XXX: Survey setup */ |
15 | | - |
| 15 | +$dir = dirname( __FILE__ ) . '/'; |
16 | 16 | require_once( $dir . '../SimpleSurvey/SimpleSurvey.php' ); |
17 | 17 | |
18 | 18 | /* Configuration */ |
— | — | @@ -82,7 +82,6 @@ |
83 | 83 | 'descriptionmsg' => 'articlefeedback-desc', |
84 | 84 | 'url' => 'http://www.mediawiki.org/wiki/Extension:ArticleFeedback' |
85 | 85 | ); |
86 | | -$dir = dirname( __FILE__ ) . '/'; |
87 | 86 | // Autoloading |
88 | 87 | $wgAutoloadClasses['ApiQueryArticleFeedback'] = $dir . 'api/ApiQueryArticleFeedback.php'; |
89 | 88 | $wgAutoloadClasses['ApiArticleFeedback'] = $dir . 'api/ApiArticleFeedback.php'; |