Welcome Guest, Not a member yet? Register   Sign In
Making it modular
#2

[eluser]Phil Sturgeon[/eluser]
CI can do this easily enough, no hacking required.

In your index.php just set some paths:

Code:
/*
|---------------------------------------------------------------
| SYSTEM FOLDER NAME
|---------------------------------------------------------------
|
| This variable must contain the name of your "system" folder.
| Include the path if the folder is not in the same  directory
| as this file.
|
| NO TRAILING SLASH!
|
*/
    $system_folder = "/usr/share/php/frameworks/codeigniter";

/*
|---------------------------------------------------------------
| APPLICATION FOLDER NAME
|---------------------------------------------------------------
|
| If you want this front controller to use a different "application"
| folder then the default one you can set its name here. The folder
| can also be renamed or relocated anywhere on your server.
| For more info please see the user guide:
| http://ellislab.com/codeigniter/user-guide/general/managing_apps.html
|
|
| NO TRAILING SLASH!
|
*/
    $application_folder = "/usr/sitename/home/public_html/";

or something along those lines.


Messages In This Thread
Making it modular - by El Forum - 09-16-2008, 08:11 AM
Making it modular - by El Forum - 09-16-2008, 08:17 AM
Making it modular - by El Forum - 09-16-2008, 08:20 AM
Making it modular - by El Forum - 09-16-2008, 08:38 AM
Making it modular - by El Forum - 09-16-2008, 08:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB