[eluser]Unknown[/eluser]
How can I combat losing stylesheets / images / etc when changing from the root page (index.php) to a sub page (index.php/view/products)?
I am using a master header for both the root page and sub pages (my headers, css links, etc., are all in this file), but all of my sub pages are no longer relative to the site root (/) and cannot find these files.
If I change "assets/styles.css" to "/assets/styles.css" it doesn't make any difference, which is VERY strange because "../../assets/styles.css" works fine. Why is CI not only changing the CWD but also stopping me from using absolute file paths?