]> git.openstreetmap.org Git - chef.git/commitdiff
Update CirrusSeach to use new style extension loading
authorTom Hughes <tom@compton.nu>
Mon, 2 Nov 2020 10:31:13 +0000 (10:31 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 2 Nov 2020 10:31:13 +0000 (10:31 +0000)
cookbooks/mediawiki/templates/default/mw-ext-CirrusSearch.inc.php.erb

index 12fe10e5bab7e334ce38e209a1ee0501bdd6c89c..ddb87f166eb3d755f92d597498c95ee347204b6a 100644 (file)
@@ -1,5 +1,5 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
-require_once($IP .'/extensions/CirrusSearch/CirrusSearch.php');
+wfLoadExtension( 'CirrusSearch' );
 $wgDisableSearchUpdate = false;
 $wgSearchType = 'CirrusSearch';