Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -257,9 +257,6 @@ |
258 | 258 | |
259 | 259 | $wgFilterLogTypes['review'] = true; |
260 | 260 | |
261 | | -$wgSvgGraphDir = dirname(__FILE__) . '/svggraph'; |
262 | | -$wgPHPlotDir = dirname(__FILE__) . '/phplot-5.0.5'; |
263 | | - |
264 | 261 | # End of configuration variables. |
265 | 262 | ######### |
266 | 263 | |
— | — | @@ -269,8 +266,11 @@ |
270 | 267 | $wgExtensionFunctions[] = 'efLoadFlaggedRevs'; |
271 | 268 | |
272 | 269 | $dir = dirname(__FILE__) . '/'; |
273 | | -$langDir = dirname(__FILE__) . '/language/'; |
| 270 | +$langDir = $dir . 'language/'; |
274 | 271 | |
| 272 | +$wgSvgGraphDir = $dir . 'svggraph'; |
| 273 | +$wgPHPlotDir = $dir . 'phplot-5.0.5'; |
| 274 | + |
275 | 275 | $wgAutoloadClasses['FlaggedRevs'] = $dir.'FlaggedRevs.class.php'; |
276 | 276 | $wgAutoloadClasses['FlaggedRevsHooks'] = $dir.'FlaggedRevs.hooks.php'; |
277 | 277 | $wgAutoloadClasses['FlaggedRevsApiHooks'] = $dir.'FlaggedRevs.hooks.php'; |