one way would be to modify config files to do something like this:
'debug' => env('APP_DEBUG', false),
notice where it says false, put that to true/false so if there is no .env file it will set that to whatever you want it to default to.
btw how comes you cannot upload/create a .env file? in filezilla you can create a new text file.. rename it to .env etc
Thanks for the help I will try that.
I am hosting my application on IBM bluemix cloud, Which does not allow any access to the files with filezilla etc.
The only way to push your application is by using cloud foundry command line tool which just makes a copy of your app form local to bluemix cloud.
You can deploy also using the content of a git repository (which i use) but since I do not commit my .env to my source control the .env file is not uploaded to my app in bluemix cloud and i have no option to mannually add any file.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community