Concerning this post, I'd like to add css,images and js to my codeigniter application. My question is after you add path to your header file href="<?php echo base_url();?>css/moorainbow.css"
, where do you actually put your files, is it in system, application, view or controller? I found like 10 articles so far explaining the same procedure but no one is talking about where actual file should be kept? can anybody help me with this ? thank you
Asked
Active
Viewed 1.1k times
9

Community
- 1
- 1

Gandalf StormCrow
- 25,788
- 70
- 174
- 263
2 Answers
7
Ok, try two. Here is the answer for Codeigniter (instead of CakePHP... sorry!)
Put any public files in the root (same directory as the main index.php
)
index.php system/ images/ js/ css/
My reference: http://www.greggoforth.net/article/5

Doug Neiner
- 65,509
- 13
- 109
- 118
-
5I'm an idiot. I should -1 myself for not reading the question closely. My edit should provide what you want. – Doug Neiner Dec 05 '09 at 16:38