Setting environment in .env - can't get it working |
(09-20-2018, 10:53 PM)sv3tli0 Wrote: CI_ENVIRONMENT = development Yes it is working for me too. But if you intend to switch/control environment using .env files, you must disable it first in the .htaccess file. My issue above was that I didn't realise it was there in the .htaccess so perhaps it needs to be mentioned in the documentation more clearly on this page https://bcit-ci.github.io/CodeIgniter4/g...ments.html |
Messages In This Thread |
Setting environment in .env - can't get it working - by happyape - 09-19-2018, 07:17 AM
RE: Setting environment in .env - can't get it working - by dave friend - 09-19-2018, 08:56 AM
RE: Setting environment in .env - can't get it working - by happyape - 09-19-2018, 02:55 PM
RE: Setting environment in .env - can't get it working - by sv3tli0 - 09-20-2018, 10:53 PM
RE: Setting environment in .env - can't get it working - by happyape - 09-20-2018, 11:14 PM
|