how to setup code igniter so it's outsid public_html? |
[eluser]chobo[/eluser]
Hi, I'm not sure which paths or variables I need to change in order to make code igniter work outside the public_html folder I want to have a directory structure like this: Code: classes I have no idea how to set this up.
[eluser]chobo[/eluser]
I think I found a solution, I haven't even started using code igniter yet, so I'm not sure if this screws up anything else. So far I moved everything except the index.php file outside the public_html directory. I then changed the system and applications paths and wrote in a full path. Ex: Code: $system_folder = "S:/site_name/CodeIgniter_1.5.4/system"; when I load up the index.php it loads up the welcome controller, so it seems to work.
[eluser]Glen Swinfield[/eluser]
You don't need to change anything, just move everything outside the web root and include the index.php in an index.php file in the web root - explained on my site here: CodeIgniter Installation :-) |
Welcome Guest, Not a member yet? Register Sign In |