site_url removes part of string |
[eluser]doors[/eluser]
I have something like this for my site_url in the config file: http://www.example.com/catalog/ When I am using site_url function it gives the following string: http://www.example.com Why is that happening?
[eluser]Pygon[/eluser]
site_url is based off $config['base_url'] and doesn't contain any logic to strip anything off of it.
[eluser]Doosje[/eluser]
I think doors means somthing else. site_url gives the url defined like Pygon said. If you want it to point to something else try: Code: site_url('catelog');
[eluser]doors[/eluser]
Sorry guys. I was using base_url() instead of site_url(). |
Welcome Guest, Not a member yet? Register Sign In |