Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip route loading when not in HTTP environment
For ZF2 applications loaded via CLI, the "literal" route does not exists and therefor an exception is thrown. Explicitly check for the HTTP environment to load the routes.
- Loading branch information