]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb
Exempt /server-status from redirection on tile servers
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-DisableAccount.inc.php.erb
index 7d0b2f4de11be06e2f47c251ba32fc25f6f1ab2c..dd7bdb8eb7cc35e8b0fd4786c9b08d9bddf8d261 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 # DO NOT EDIT - This file is being maintained by Chef
-require_once( $IP.'/extensions/DisableAccount/DisableAccount.php' );
+wfLoadExtension( 'DisableAccount' );
 
 // Allow bureaucrats to disable users
 $wgGroupPermissions['bureaucrat']['disableaccount'] = true;