Return to Snippet

Revision: 47321
at June 5, 2011 13:31 by gcarpenterv


Initial Code
if ($_SERVER['HTTP_HOST'] == 'localhost:8888') {
	define('ENVIRONMENT', 'development');
} else {
	define('ENVIRONMENT', 'production');
}

Initial URL

                                

Initial Description

                                

Initial Title
CodeIgniter index.php Application Environment Declaration

Initial Tags

                                

Initial Language
PHP