Index: trunk/extensions/Translate/groups/Wikia/WikiaExtensions.php |
— | — | @@ -1,16 +1,17 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | - |
5 | 4 | class PremadeWikiaExtensionGroups extends PremadeMediawikiExtensionGroups { |
6 | 5 | protected $useConfigure = false; |
7 | 6 | protected $idPrefix = 'wikia-'; |
8 | 7 | protected $path = null; |
9 | 8 | |
10 | 9 | public function __construct() { |
| 10 | + global $wgTranslateGroupRoot; |
| 11 | + |
11 | 12 | parent::__construct(); |
12 | 13 | $dir = dirname( __FILE__ ); |
13 | 14 | $this->definitionFile = $dir . '/extensions.txt'; |
14 | | - $this->path = '/var/www/externals/wikia/'; |
| 15 | + $this->path = '$wgTranslateGroupRoot/wikia/'; |
15 | 16 | } |
16 | 17 | |
17 | 18 | protected function addAllMeta() { |