Remove this `else` and define `$config = array()` above this `if` block