diff --git a/config.php b/config.php index 1fbb0fe..2942897 100644 --- a/config.php +++ b/config.php @@ -185,11 +185,14 @@ class config $new = array (); foreach ($values as $key=>$val) { + $val = trim ($val); if (strpos ($val, "=>") !== false) { // Associated array unset ($values[$key]); list ($key1, $val1) = explode ("=>", $val); + $key1 = trim ($key1); + $val1 = trim ($val1); if ($val1[0] === "\"" || $val1[0] === "'") $val1 = substr($val1, 1, -1); elseif (strpos ($val1, "."))