Welcome Guest, Not a member yet? Register   Sign In
Code Igniter setup in production
#2

(This post was last modified: 10-02-2015, 10:41 AM by Muzikant.)

It should be enough, if you will make changes in main index.php file:

PHP Code:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production'); // this is important
...
$system_path '../system'// you can move your system directory on more secure location if you can (on some web hostings you can not do that)
...
$application_folder '../application'// as well as application directory (values are just an examples, your relative paths may vary) 
Reply


Messages In This Thread
Code Igniter setup in production - by estebanc - 10-02-2015, 09:58 AM
RE: Code Igniter setup in production - by Muzikant - 10-02-2015, 10:40 AM
RE: Code Igniter setup in production - by kankuro - 10-02-2015, 06:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB