Welcome Guest, Not a member yet? Register   Sign In
Why?
#7

I always create my folder structure like below:

root
-- app
-- system
-- public_html or public
---- assets
------ css
------ js
------ img
------ images
------ vendor
-------- jquery
------ plugins
-- writable

Then you can access them like below:

Code:
<link href="<?= base_url('assets/css/blog.css'); ?>" rel="stylesheet">

<script src="<?= base_url('assets/vendor/jquery/jquery-3.6.0.min.js'); ?>"></script>
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Why? - by donpwinston - 12-14-2022, 07:07 PM
RE: Why? - by InsiteFX - 12-14-2022, 11:49 PM
RE: Why? - by donpwinston - 12-15-2022, 01:57 AM
RE: Why? - by kenjis - 12-15-2022, 04:00 AM
RE: Why? - by donpwinston - 12-15-2022, 06:00 AM
RE: Why? - by superior - 12-15-2022, 08:54 AM
RE: Why? - by donpwinston - 12-15-2022, 09:12 AM
RE: Why? - by InsiteFX - 12-15-2022, 08:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB