Setting baseURL in Registrar not working |
(05-21-2025, 11:14 PM)petewulf1 Wrote: App Configuration is extending BaseConfig so it should be callable. Any plans to extend/fix this in future releases? There's nothing to fix here - everything is working correctly, as already mentioned by other users. To confirm, I ran a quick test: Code: composer create-project codeigniter4/appstarter ci461 Then I copied your code from the initial post and added a call to site_url() in the welcome_message.php view file. I didn't encounter any issues. And the correct address was displayed: http://192.168.0.1:81/index.php The same after setting: Code: CI_ENVIRONMENT = staging Of course, I had to create a dedicated file in the app/Config/Boot/staging.php, but after that, again, the address was displayed correctly: http://mydomain.com/index.php I simply can't reproduce the error you're describing on a fresh install. If you have any additional details that could help us reproduce the behavior you're experiencing, please share them - otherwise, there's not much more we can do on our end. |
Messages In This Thread |
Setting baseURL in Registrar not working - by petewulf1 - 05-13-2025, 03:20 AM
RE: Setting baseURL in Registrar not working - by michalsn - 05-14-2025, 12:09 AM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-15-2025, 01:45 PM
RE: Setting baseURL in Registrar not working - by grimpirate - 05-15-2025, 02:20 PM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-21-2025, 06:49 AM
RE: Setting baseURL in Registrar not working - by grimpirate - 05-21-2025, 10:01 AM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-21-2025, 01:38 PM
RE: Setting baseURL in Registrar not working - by InsiteFX - 05-21-2025, 09:01 PM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-21-2025, 11:14 PM
RE: Setting baseURL in Registrar not working - by michalsn - 05-22-2025, 12:10 AM
|