Welcome Guest, Not a member yet? Register   Sign In
CI Installation Layout
#1

[eluser]Glen Swinfield[/eluser]
I have recently posted a zip file of my preferred CI installation layout. It removes index.php from the url, takes system and application out of the web root and moves some bits around to more "suitable" places.

Templates are kept in the Web root with css and other design elements.

All configuration that is usually done through index.php and config.php can now be done through the new index.php file.

It may be useful to you - it may be not?

oh - and I'm not sure if this should be in "Ignited Code"?
#2

[eluser]xwero[/eluser]
Have you tested it without the .htacces ? I'm asking this because i have a few servers that don't allow the use of .htacces.

I will test it myself if i can find the time because i like the idea of having a secure, less foldery setup from the start.
#3

[eluser]Glen Swinfield[/eluser]
You will need to delete the .htaccess file and then add change

application/config/config.php line 26 from

Code:
$config['index_page'] = "";

to

Code:
$config['index_page'] = "index.php";

And you will probably need to find an alternative way prevent direct access to /www/design_elements/templates and errors.
#4

[eluser]xwero[/eluser]
Ok thank you i will check it as soon as i can.




Theme © iAndrew 2016 - Forum software by © MyBB