type hostname at the console and that is what you should put there. Mine for example is
hostname
Alfreds-MacBook-Pro-3.local
also you can default to local this way
$env = $app->detectEnvironment(function()
{
if (!isset($_ENV['ENVIRONMENT'])) {
return 'local';
}
return $_ENV['ENVIRONMENT'];
});
then you can use http://laravel.com/docs/configuration#protecting-sensitive-configuration to finalize your ENV setting but since it is NOT set this defaults to local.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community