CodeIgniter Forums
CodeIgniter 2.1.0 on Nginx 1.0.11 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: CodeIgniter 2.1.0 on Nginx 1.0.11 (/thread-49234.html)



CodeIgniter 2.1.0 on Nginx 1.0.11 - El Forum - 02-12-2012

[eluser]paparts[/eluser]
How do you configure codeigniter if it is located in a subfolder?


CodeIgniter 2.1.0 on Nginx 1.0.11 - El Forum - 02-12-2012

[eluser]Clooner[/eluser]
Change the location of the system folder in the index.php file


CodeIgniter 2.1.0 on Nginx 1.0.11 - El Forum - 02-12-2012

[eluser]paparts[/eluser]
can I ask for an example?



CodeIgniter 2.1.0 on Nginx 1.0.11 - El Forum - 02-12-2012

[eluser]Clooner[/eluser]
[quote author="paparts" date="1329079355"]can I ask for an example?
[/quote]You can ask whatever you want... but it's better to first try and explain the problem and what you have done solve it. Editing the index.php file to point to the codeigniter system directory is pretty straight forward!


CodeIgniter 2.1.0 on Nginx 1.0.11 - El Forum - 02-12-2012

[eluser]InsiteFX[/eluser]
index.php
Code:
$system_path = 'system';

$application_folder = 'application';

Change them to point to were CodeIgniter is installed!