Typo fix
parent
a65ead94ad
commit
13ec66548f
|
@ -15,7 +15,7 @@ class Config {
|
||||||
// we look for 'option' => value
|
// we look for 'option' => value
|
||||||
// option is always in single quotes
|
// option is always in single quotes
|
||||||
// value is without quotes, because it could be true/false
|
// value is without quotes, because it could be true/false
|
||||||
$patterm = "/(['\"]{$key}['\"]\s*=>\s*)([^,]+),/";
|
$pattern = "/(['\"]{$key}['\"]\s*=>\s*)([^,]+),/";
|
||||||
|
|
||||||
// prepare the value and replace it
|
// prepare the value and replace it
|
||||||
$replacementValue = var_export($newValue, true);
|
$replacementValue = var_export($newValue, true);
|
||||||
|
|
Loading…
Reference in New Issue