![]() |
Getting "application" folder out of "system" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting "application" folder out of "system" (/showthread.php?tid=18989) Pages:
1
2
|
Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]EEssam[/eluser] Hello, I took "application" folder out of "system". Should I make any file changes? Please advise. Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]Dam1an[/eluser] You will need to update the application path variable in index.php to reflect the changes Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]EEssam[/eluser] Thanks for the quick reply but it's already like this: Code: $application_folder = "application"; What should I change? Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]TheFuzzy0ne[/eluser] It's relative to the system directory, so I think it needs to be: Code: $application_folder = "../application"; Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]EEssam[/eluser] The "problem" is both are working perfectly ($application_folder = "application"; & $application_folder = "../application" ![]() Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]TheFuzzy0ne[/eluser] What do you mean? Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]Thorpe Obazee[/eluser] It's perfectly normal if you try to put the application folder out of the system folder. I believe there won't be server compatibility issues. Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]jdfwarrior[/eluser] [quote author="TheFuzzy0ne" date="1243229232"]What do you mean?[/quote] What he's saying is.. is that its not relative to the system folder. In another installation I had. I removed application from system and renamed it app, and renamed system to ci. I went to index.php and just updated the names, I didn't change path to show that the app folder wasn't in the system folder. You dont have to put ../ in from of it. Getting "application" folder out of "system" - El Forum - 05-24-2009 [eluser]Thorpe Obazee[/eluser] [quote author="jdfwarrior" date="1243244937"] What he's saying is.. is that its not relative to the system folder. In another installation I had. I removed application from system and renamed it app, and renamed system to ci. I went to index.php and just updated the names, I didn't change path to show that the app folder wasn't in the system folder. You dont have to put ../ in from of it.[/quote] I think Fuzzy was asking about what the guy means by 'compatibility issues' in the previous post. Getting "application" folder out of "system" - El Forum - 05-25-2009 [eluser]TheFuzzy0ne[/eluser] [quote author="bargainph" date="1243245419"]I think Fuzzy was asking about what the guy means by 'compatibility issues' in the previous post.[/quote] That's exactly what I meant. ![]() |