• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting environment in .env - can't get it working

#1
I downloaded a fresh copy of CI4 from the development branch. The default welcome page displays environment -

Code:
Page rendered in {elapsed_time} seconds. Environment: <?= ENVIRONMENT ?>

I, then, created a copy of "env" to ".env" and only added this line

CI_ENVIRONMENT = production

I still see environment as "development"

I can't find any settings which i can change in config/app.php

What am I doing wrong?
Reply


Messages In This Thread
Setting environment in .env - can't get it working - by happyape - 09-19-2018, 07:17 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.