코드이그나이터로그1 코드이그나이터 | 라이브러리 라이브러리 Image Manipulation Class ❛ get_instance() $this 는 컨트롤러, 모델, 뷰에서만 사용 가능 $CI =& get_instance(); CI 객체를 변수에 할당 : $this 대신 사용 $CI->load->... helper 등에서 사용 $this->input->get() 로그 출력 1. echo 2. var_dump 3. config.php log_threshold = 4 logs 폴더안에 log 파일 생성 열람 : tail -f 로그파일명 팁 defined('BASEPATH') OR exit('No direct script access allowed'); BASEPATH 상수값이 정의되어있지 않다면 페이지를 종료한다는 이 소스는 CI 의 기본상수인 BASEP.. 2021. 1. 29. 이전 1 다음