From: Tom Hughes Date: Sat, 13 Dec 2014 22:38:10 +0000 (+0000) Subject: Use single quotes in case the key contains a $ sign X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/947d5ccfbb71576033782d37dfa28d81c0d197f3?ds=sidebyside Use single quotes in case the key contains a $ sign --- diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index d4c8e3050..e3236159e 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -126,7 +126,7 @@ $wgShellLocale = "en_US.utf8"; # Site language code, should be one of the list in ./languages/Names.php $wgLanguageCode = "en"; -$wgSecretKey = "<%= @node[:mediawiki][:sites][@name][:wgSecretKey] %>"; +$wgSecretKey = '<%= @node[:mediawiki][:sites][@name][:wgSecretKey] %>'; # Site upgrade key. Must be set to a string (default provided) to turn on the # web installer while LocalSettings.php is in place