$autoload['libraries'] 나 $autoload['helper'] 에서 설정을 하면, 기존 JSON 출력파일이 에러가 생겨버리게 됩니다. 로그인 등 새로운 작업 페이지들에서 redirect('home', 'refresh'); 나 $this->session->set_userdata('logged_in', $sess_array);
를 사용할 때, 이 에러들이 발생되는데
이런 작업들을 할 떄 autoload를 따로 설정해서 사용할 수 있는 방법이 있는지,
아니라면, 기존 작업된 파일들에서 이 설정값을 주고서도 정상출력되게 하려면 어떤 방법이 있는지
다른 분들께, 조언을 구해보고 싶습니다.
autoload에 안넣으면 필요한 곳에서 만 load하면 됩니다.
libraries 는 $this->load->library() 같이 쓰시면 됩니다.
$this->load->helper()
http://www.codeigniter-kr.org/user_guide_2.1.0/libraries/loader.html