CodeIgniter Forums

Full Version: The applicatios works very slow when is en CI_ENVERONMENT=develop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

The application works very slow when i configure   CI_ENVIRONMENT=development in .env file

If it´s in CI_ENVIRONMENT=produciton works perfect

I have also tried writing in .htaccess file putting: SetEnv CI_ENVIRONMENT development
but the result is the same

I have tested in a personal application and in the original application of the installation
Have you set a correct app.baseURL="http://localhost:8080/" ? As it will fail to load the debug bar, most likely creating that lag.
(04-29-2020, 10:57 AM)jreklund Wrote: [ -> ]Have you set a correct app.baseURL="http://localhost:8080/" ? As it will fail to load the debug bar, most likely creating that lag.
Thanks, the problem was that
I had writen "http://http://localhost:8080/"

I had reviewed all the code many times but i had not realized this.

Thank you very much for the help.