A first contribution. 

Also, `$config['whatever']` variables should be referred to as `@$config['whatever']` (when appropriate) to even further reduce the risk of `undefined index` errors.