diff --git a/app/classes/config.php b/app/classes/config.php index 2c810b1..d2ab502 100644 --- a/app/classes/config.php +++ b/app/classes/config.php @@ -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);