how to setup code igniter so it's outsid public_html? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: how to setup code igniter so it's outsid public_html? (/showthread.php?tid=2187) |
how to setup code igniter so it's outsid public_html? - El Forum - 07-20-2007 [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. how to setup code igniter so it's outsid public_html? - El Forum - 07-20-2007 [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. how to setup code igniter so it's outsid public_html? - El Forum - 07-21-2007 [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 :-) |