![]() |
[SOLVED] how to access $config['base_url'] in my controller? - 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: [SOLVED] how to access $config['base_url'] in my controller? (/showthread.php?tid=2880) |
[SOLVED] how to access $config['base_url'] in my controller? - El Forum - 08-29-2007 [eluser]ppeemm[/eluser] just a quick one: I need to store the URL of a picture in my database and I am wondering if I can access this config variable here ($config['base_url']) which contains the begining of the URL? if so, can can I do that from my controller? cheers [SOLVED] how to access $config['base_url'] in my controller? - El Forum - 08-29-2007 [eluser]Michael Wales[/eluser] The URL Helper [SOLVED] how to access $config['base_url'] in my controller? - El Forum - 08-29-2007 [eluser]ppeemm[/eluser] oups yes sorry! |