Welcome Guest, Not a member yet? Register   Sign In
SUBFOLDERS AND VERY LONG URIS
#1

[eluser]Unknown[/eluser]
Does CI make it possible to place controllers in subdirectories within subdirectories within ... etc.,
and the same with views in a matching subdirectory path,
and the same with javascript and CSS,
and have the URI reflect these paths?

I'd like to be able to have for example:
http://foo.com/one/long/URL/for/good/org.../site.html

and have my controller located in:
controllers/one/long/URL/for/good/organization/of/a/HUGE.php

and have my view located in:
views/one/long/URL/for/good/organization/of/a/HUGE/site.php

and have my javascript located in:
js/one/long/URL/for/good/organization/of/a/HUGE/site.js

and have my CSS located in:
css/one/long/URL/for/good/organization/of/a/HUGE/site.css

Is that easy to do with CI?

Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB