Welcome Guest, Not a member yet? Register   Sign In
How to change the ENVIRONMENT type
#4

(This post was last modified: 03-31-2015, 06:53 AM by lionking.)

If I can change it whether

PHP Code:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'testing');  // testing, production, development 

Or

PHP Code:
define('ENVIRONMENT''development');  // testing, production, development 

What is the benefit of the following condition

PHP Code:
isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'
Reply


Messages In This Thread
How to change the ENVIRONMENT type - by lionking - 03-31-2015, 06:37 AM
RE: How to change the ENVIRONMENT type - by Narf - 03-31-2015, 06:41 AM
RE: How to change the ENVIRONMENT type - by lionking - 03-31-2015, 06:52 AM
RE: How to change the ENVIRONMENT type - by Narf - 03-31-2015, 08:33 AM
RE: How to change the ENVIRONMENT type - by alenn - 04-05-2015, 11:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB