To fix issue #958

To fix the issue #958 that I reported: ENVIRONMENT config files are being ignored. This only happens for bonfire-specific config file such as events.php