CodeIgniter Forums
Debug toolbar shown on spark but not virtualhost - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Debug toolbar shown on spark but not virtualhost (/showthread.php?tid=76316)



Debug toolbar shown on spark but not virtualhost - kabeza - 05-02-2020

Hi
I've begun trying CI4 and noticed the .env file, CI_ENVIRONMENT etc.
I've set it to development

Then I started
php spark serve

Entered http://localhost:8080 and saw the flame toolbar at bottom.

Besides that, I've Apache with a new virtualhost configured at same folder, but when loading
http://ci4
the flame toolbar is not shown... Dodgy

Thanks a lot in advance

Solved!

As I've installed ci4 using composer, the Config/App.php was set with url http://localhost:8080
When browsing http://ci4/ I was getting CORS, etc.

Set the public
Code:
$baseURL = 'http://ci4/';
and now all OkĀ  Cool