I am running CI 4.3.3
I have multiple hostnames defined in
Config\App.php :
PHP Code:
public array $allowedHostnames = ['host1','host2','host3'];
And I have a "fake" base URL defined in my
.env (as I would like to keep it portable transparently) :
PHP Code:
app.baseURL = 'http://fake/'
If I call
base_url() or
site_url(), everything works fine. It takes the relevant allowedHostname into account.
If I call
link_tag() or
script_tag(), only 'http://xxx/' into taken into account.
Is there a way to fix this?