]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: MobileFrontend fix
authorGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 07:57:04 +0000 (07:57 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 07:57:04 +0000 (07:57 +0000)
cookbooks/mediawiki/templates/default/mw-ext-MobileFrontend.inc.php.erb

index dc906efea5d6ec9f8a4a6be6d3548162080b712a..5fb6b2ce22807dc84958329d4cccda8f683ab191 100644 (file)
@@ -1,6 +1,9 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
-wfLoadExtension( 'MobileFrontend' );
+
+#!!! NEEDS REQUIRE !!!
+require_once "$IP/extensions/MobileFrontend/MobileFrontend.php";
+#!!! NEEDS REQUIRE !!!
 
 // Enable detection in PHP. Disable this if you put MW behind a caching layer
 $wgMFAutodetectMobileView = true;
 
 // Enable detection in PHP. Disable this if you put MW behind a caching layer
 $wgMFAutodetectMobileView = true;