[eluser]digitalformula[/eluser]
[quote author="CroNiX" date="1339088173"]
Code:
-system/ (not in webroot)
-webroot/
--application/
--assets/ (same level as index.php)
----css/
----js/
----img/
--index.php (has system dir defined)
Code:
echo base_url('assets/css/my_css.css');
Use base_url() to access assets (or anything else that doesn't need to use index.php)
Use site_url() to access a CI controller/method[/quote]
Excellent, thanks for pointing out the base_url() and site_url() functions - they'll help heaps.
Good timing on the structure, too - that's actually what I ended up creating, before I even read this post. I think it's a structure you proposed in another forum response, actually. It's a good structure - thanks for posting.