Hello there and nice to meet you. I am a new CI member and my name is Jose.
I have the next directory structure inside my root folder:
-> assets
|-->css
|-->bootstrap.min.css
-> secured_folder
|--->secured_application_folder
|--->cache
|--->config
|--->...
|--->views
|---> index.php
|--->secured_system_folder
To reference the css code from inside the index.php view file (located at
/secured_folder/secured_application_folder/views) I need to just go up one level, like this:
Code:
<link href="../assets/css/bootstrap.min.css" rel="stylesheet">
Apparently this is not true, I would have to go up three levels: from "views" folder to "secured_application_folder"; from "secured_application_folder" to "secured_folder", and from "secured_folder" to my
root folder.
This code won't work, though:
Code:
<link href="../../../assets/css/bootstrap.min.css" rel="stylesheet">
Why is this happening?
Thanks!