![]() |
base_url() function and documentation not consistent? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: base_url() function and documentation not consistent? (/showthread.php?tid=46352) |
base_url() function and documentation not consistent? - El Forum - 10-28-2011 [eluser]Unknown[/eluser] Code: /** That's the function I got from 2.0.3 core. There aren't any input parameters. The documentation, (codeigniter dot com/user_guide/helpers/url_helper.html) says, Quote:base_url() My reason for wanting to use this function was because site_url wasn't smart enough to realize that when I fed it the link to an image, it shouldn't append the .html suffix that I have stuck in the url_suffix section of the config. Thanks, Thom Brooks Austin, TX |