main
Yasen Pramatarov 2024-11-01 18:58:53 +02:00
parent a65ead94ad
commit 13ec66548f
1 changed files with 1 additions and 1 deletions

View File

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