]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/LocalSettings.php.erb
Convert mediawiki_site to an LWRP
[chef.git] / cookbooks / mediawiki / templates / default / LocalSettings.php.erb
index 9f6ecb217a583ba28102a7a26e0a50d5e6fac277..1389dbabd5f864d04768ac667f802d34ac0a48fd 100644 (file)
@@ -291,7 +291,6 @@ $wgNamespacesToBeSearchedDefault[NS_LANG_JA] = TRUE;
 $wgReadOnly = "<%= @mediawiki[:site_readonly] %>";
 <% end -%>
 
-<% Dir.glob("#{@mediawiki[:directory]}/LocalSettings.d/*.php") do |file| -%>
+<% Dir.glob("#{@directory}/LocalSettings.d/*.php") do |file| -%>
 <%= "require_once('#{file}');" %>
 <% end -%>
-