본문 바로가기

코드이그나이터

debugger 없애기

728x90
반응형
/*
  |--------------------------------------------------------------------------
  | ERROR DISPLAY
  |--------------------------------------------------------------------------
  | In development, we want to show as many errors as possible to help
  | make sure they don't make it to production. And save us hours of
  | painful debugging.
 */
error_reporting(-1);
ini_set('display_errors', '1');
/*
  |--------------------------------------------------------------------------
  | DEBUG BACKTRACES
  |--------------------------------------------------------------------------
  | If true, this constant will tell the error screens to display debug
  | backtraces along with the other error information. If you would
  | prefer to not see this, set this value to false.
 */
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', false);
/*
  |--------------------------------------------------------------------------
  | DEBUG MODE
  |--------------------------------------------------------------------------
  | Debug mode is an experimental flag that can allow changes throughout
  | the system. This will control whether Kint is loaded, and a few other
  | items. It can always be used within your own application too.
 */
defined('CI_DEBUG') || define('CI_DEBUG', false);
false -> true 로 둘다 변경

 

728x90
반응형

'코드이그나이터' 카테고리의 다른 글

같은 서비스에 서브 도메인의 세션을 공유하기  (0) 2023.12.11
cookie 쿠키 사용  (0) 2022.07.31
폼검증  (0) 2022.07.31
[CI4] Codeigniter alert helper 만들기  (0) 2022.07.31