I’am using CI 1.5.1
Two servers:
* linux, apache 2.0, php 5.1
* windows, apache 2.2, php 5.2
So the problem: CI cant’ parse CSS file, when it included in the VIEW like so:
<link href="niftyCorners.css" rel="stylesheet" type="text/css" />
. In windows enviroment i got strange error in FF, like a MIME types mix, something about “the css file is text/html type and you need text/css”. I checked the apache config and MIMES types, but all seems ok. And standalone php worked fine (without CI). On linux server theres is no erros, but CSS is not parsed by browser.
It is ok, when you gives the full path.
Or you can do something like that:
<style type="text/css"><?php=get_file_content(path_to_css.'/style.css');?></style>
But this is not a option in my situation, i have a couple js libs, that using CSS include (you can see this in attachment).
In attached file you can see code generated inside of browser with Firebug (it shows a default CI_404, why?). The js and css are in the same directory.
There is something with relative paths to do. Maybe?
Thanks a lot.
