CodeIgniter Forums
CI Directory Structure for (CSS, JS, Images) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: CI Directory Structure for (CSS, JS, Images) (/showthread.php?tid=65267)



CI Directory Structure for (CSS, JS, Images) - keyur.joshi - 05-23-2016

Hi i am keyur Joshi and i am new to codeigniter and using 3.0.6 version to develop online inventory management system. so need help where can i place my html template and css, js, and images.

thanks in advance


with warm regards
keyur joshi


RE: CI Directory Structure for (CSS, JS, Images) - InsiteFX - 05-23-2016

[Image: assets.png]

The public_html is the root of your web server it could also be just public etc;

For your templates place them under the view folder or create a new view path in index.php