![]() |
Problem with base_url() and https:// - 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: Problem with base_url() and https:// (/showthread.php?tid=5227) |
Problem with base_url() and https:// - El Forum - 01-12-2008 [eluser]Rubiz'[/eluser] Hi!! I have problems with base_url(), my base_url is a https:// address, I dont know if it makes diference. Everytime I put base_url(), like this: Code: flash('<?=base_url()?>swf/flash.swf') Code: flash(' Anyone has idea about that? Problem with base_url() and https:// - El Forum - 01-12-2008 [eluser]Rubiz'[/eluser] Changing for other address, non https:// in the same host didnt work to... It outputs a message that de function base_url() is undefined Problem with base_url() and https:// - El Forum - 01-12-2008 [eluser]tonanbarbarian[/eluser] to access base_url() you need to load the url helper So you can either add it to the autoload or you can load the helper just when needed in the controller Problem with base_url() and https:// - El Forum - 01-14-2008 [eluser]Rubiz'[/eluser] weird, in my past project I didnt have to autoload url... but I'll try this, thanx! Problem with base_url() and https:// - El Forum - 01-15-2008 [eluser]Rubiz'[/eluser] You are right, in this site I had to autoload de helper url... |