index.php
* localhost/index.phpdefine('ENVIRONMENT','development'); if(define('ENVIRONMENT')){ switch (ENVIROMENT) { case 'development': error_reporting(E_ALL); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); }} * define('ENVIRONMENT','development' | 'testing' | 'production'); 개발환경/테스트/서비스 환경 선택 * application/config에 ..
2015.09.08