asgrim/godeploy — Issue #118: Attempt to remove $_SERVER etc. superglobals usage
Author: asgrim
Created: 2011-10-26 12:44:45+00:00
State: open
Labels: improvement

Remove superglobals usage where possible (e.g. $_SERVER, $_SESSION etc.) and use ZF's extensions.

Specifically we need to get rid of this line in Bootstrap.php:

```php
if(stripos($_SERVER['REQUEST_URI'], '/error/database') === false)
```

because it's awful.

**Hint** - eclipse regex search, case sensitive: `\$_[A-Z]`