Quote strings in Settings.php

Add quoting to the strings in Settings.php even when substituted
from an ERB variable expansion.

Change-Id: I873cd4ec3050c450620857646d02a2df8e0ba56a
This commit is contained in:
Jeremy Stanley 2016-07-19 21:07:05 +00:00
parent f821afdf7d
commit 7bb57637af
1 changed files with 2 additions and 2 deletions

View File

@ -194,8 +194,8 @@ require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
require_once "$IP/extensions/ConfirmEdit/ReCaptcha.php";
$wgCaptchaClass = 'ReCaptcha';
$wgReCaptchaPublicKey = <%= @wg_recaptchapublickey %>;
$wgReCaptchaPrivateKey = <%= @wg_recaptchaprivatekey %>;
$wgReCaptchaPublicKey = "<%= @wg_recaptchapublickey %>";
$wgReCaptchaPrivateKey = "<%= @wg_recaptchaprivatekey %>";
$wgMainCacheType = CACHE_ANYTHING;
$wgCaptchaTriggers['edit'] = true;