Controller functions being called twice, passed "css" second time? - 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: Controller functions being called twice, passed "css" second time? (/showthread.php?tid=20275) |
Controller functions being called twice, passed "css" second time? - El Forum - 07-04-2009 [eluser]Unknown[/eluser] While debugging my application I am noticing that my controller functions are getting called twice on page load. The argument being passed the second time to my function is always the string "css". Because of this I am not getting any data back because the second function call is overwriting my $id parameter and ruining my query. Anyone have any explanation or ideas about this? Controller functions being called twice, passed "css" second time? - El Forum - 07-04-2009 [eluser]JoostV[/eluser] Are you trying to load a css file using a relative link? Controller functions being called twice, passed "css" second time? - El Forum - 07-04-2009 [eluser]Unknown[/eluser] Ah, thank you, never thought of that. I think a javascript library I am loading might be. |