PROCEDURE#2 |
[eluser]v4et[/eluser]
Please tell me if this installation procedure is right: 1-I uploaded the dir CodeIgniter_2.1.0 to root/home keeping index.php without moving 2-I edited config,php this way: |————————————————————————————————————— | Base Site URL |————————————————————————————————————— | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH a trailing slash: | | http://example.com/ | | If this is not set then CodeIgniter will guess the protocol, domain and | path to your installation. | */ $config[‘base_url’] = ‘/root/home’; /* |————————————————————————————————————— | Index File |————————————————————————————————————— | | Typically this will be your index.php file, unless you’ve renamed it to | something else. If you are using mod_rewrite to remove the page set this | variable so that it is blank. | */ $config[‘index_page’] = ‘/root/home/CodeIgniter_2.1.0/index.php’; /* |————————————————————————————————————— 3- I edited index,php without moving it from root/home/CodeIgniter_2.1.0/ this way: *———————————————————————————————- * APPLICATION ENVIRONMENT *———————————————————————————————- * * You can load different configurations depending on your * current environment. Setting the environment also influences * things like logging and error reporting. * * This can be set to anything, but default usage is: * * development * testing * production * * NOTE: If you change these, also change the error_reporting() code below * */ define(‘production’, ‘development’); /* *———————————————————————————————- * ERROR REPORTING *———————————————————————————————- * * Different environments will require different levels of error reporting. * By default development will show errors but testing and live will hide them. */ if (defined(‘production’)) { switch (production) { case ‘development’: error_reporting(E_ALL); break; case ‘testing’: case ‘production’: error_reporting(0); break; default: exit(‘The application environment is not set correctly.’); } } /* *———————————————————————————————- * 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. * */ $system_path = ‘root/home/CodeIgniter_2.1.0/system’; /* *———————————————————————————————- * 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. If * you do, use a full server path. For more info please see the user guide: * http://ellislab.com/codeigniter/user-gui..._apps.html * * NO TRAILING SLASH! * */ $application_folder = ‘/root/home/CodeIgniter_2.1.0/application’; NOTES FROM OP In this procedure I left index.php without moving as stated avobe You can also refer to this other procedures http://ellislab.com/forums/viewthread/217919/ http://ellislab.com/forums/viewthread/217923/ http://ellislab.com/forums/viewthread/217924/ |
Welcome Guest, Not a member yet? Register Sign In |