Answer the question
In order to leave comments, you need to log in
Migrating from laravel 4 to laravel 5 how to deal with settings?
Good afternoon, I'm not strong in Laravel, and I worked with version 4, everything is simple with the settings, when creating a project, 3 daddies are created: locale, testing and live. When switching to version 5, all this is not there, and they are forcibly forced to switch to .env
Actually, the question is: do I need to use sqlite3 locally and when testing mysql, how not to be with the settings?
I say this right now:
'default' => getenv('DEFAULT_SQL_ENGINE') ? getenv('DEFAULT_SQL_ENGINE') : 'mysql' ;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question