bootstrap env detector updated for Laravel 4.2