-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: ENVIRONMENT is not updated when changed via .ENV ( 4.5.3) #9029
Comments
Cannot reproduce. |
We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS. |
Try to clear browser cache |
@cijagani @kenjis So to reproduce this i used Docker with image configuration like this in my Gist, just change to PHP 8.3. i update the docker image and even downgrad to 8.1 and same problem |
We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS. |
PHP Version
8.3
CodeIgniter4 Version
4.5.3
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
What happened?
Following the Docs to change the
.env
file to changeCI_ENVIRONMENT
todevelopment
andapp.baseURL = 'http://localhost/'
when refresh de browser it is still inproduction
and even dev toolbar dont show.Steps to Reproduce
i just followed the Docs, how to change the
ENVIRONMENT
todevelopment
andapp.baseURL = 'http://localhost/'
in.env
Also change in
APP > Config >App,php
the propsindexPage
to empty string.Only works with this command the change is applied :
php spark env development
.Expected Output
The same result as when execute the command
php spark env development
Via terminal
however if change via
.env
->CI_ENVIRONMENT = development
:Anything else?
No response
The text was updated successfully, but these errors were encountered: