====== CI설치 ====== CI의 설치는 CodeIgniter를 www.codeigniter.com 에서 다운 받은 후에 웹서버 폴더에 압출을 풀어 주시기만 해되 됩니다. ===== CI 폴더 ===== * config : 설정 파일을 들어 가 있는 폴더 * models : 모델을 넣는 폴더 * views : 뷰 파일을 넣는 폴더 * controllers : 컨트롤 파일을 넣는 폴더 * helpers : 사용자 정의 핼퍼 파일을 넣는 폴더 * libraries : 사용자 정의 라이브러리를 넣는 폴더 * hooks : 후크파일을 넣는 폴더 ===== Config.php 설정 ===== * base_url : 페이지 이동시 기초가 되는 주소 ex)www.adminschool.net * index_page : 페이지 이동시 기초가 되는 페이지 ex) index.php * uri_protocol * url_suffix * language * charset * enable_hooks * subclass_prefix * permitted_uri_chars * allow_get_array. * enable_query_strings * controller_trigger * function_trigger * directory_trigger * log_threshold * log_path * log_date_format * cache_path * encryption_key * sess_cookie_name * sess_expiration * 등등 ===== INDEX.PHP 설정 ===== * system_path : system 폴더 위치 * application_folder : 어플리케이션의 위치 * controller : 최초 실행 컨트롤러 * function : 최초 실행 함수 ===== database.php 설정 ===== * hostname * username * password * database * dbdriver * cache_on * char_set * dbcollat ===== autoload.php ===== * packages * libraries * helper * config * language * model