CodeIgniter Forums

Full Version: Controller functions being called twice, passed "css" second time?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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?

El Forum

[eluser]JoostV[/eluser]
Are you trying to load a css file using a relative link?

El Forum

[eluser]Unknown[/eluser]
Ah, thank you, never thought of that. I think a javascript library I am loading might be.