코드이그나이터 3.1.3에서 HMVC 오류 대응
2017.03.01 19:20
소스1 : http://www.cikorea.net/bbs/view/tip?idx=16509&page=1&view_category=&lists_style=
소스2: http://stackoverflow.com/questions/41557760/codeigniter-hmvc-object-to-array-error?answertab=votes#tab-top
application/third_party/MX/Loader.php , line 300의 주석친 내용에서 주석 안친 내용으로 수정
//return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
if
(method_exists(
$this
,
'ci_object_to_array'
))
{
return
$this
->_ci_load(
array
(
'_ci_view'
=>
$view
,
'_ci_vars'
=>
$this
->_ci_object_to_array(
$vars
),
'_ci_return'
=>
$return
));
}
else
{
return
$this
->_ci_load(
array
(
'_ci_view'
=>
$view
,
'_ci_vars'
=>
$this
->_ci_prepare_view_vars(
$vars
),
'_ci_return'
=>
$return
));
}
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
20 | php obfuscator | 꿈돌이 | 2018.01.31 | 180 |
19 | Slim boilerplates | 꿈돌이 | 2017.06.02 | 197 |
18 | Vue Slim으로 카테고리 만들기 | 꿈돌이 | 2017.11.10 | 238 |
17 | vue-slim-medoo boilerplate | 꿈돌이 | 2017.06.04 | 244 |
16 | Doctrine DBAL 메모 | 꿈돌이 | 2017.10.27 | 249 |
15 | slim 4 , Intelephense | 꿈돌이 | 2020.01.17 | 264 |
14 | 윈도우에서 사설인증서로 https localhost 사용하기 | 꿈돌이 | 2018.08.24 | 266 |
13 | Vue Tree view with Single file component | 꿈돌이 | 2017.09.29 | 326 |
12 | CodeIgniter - Class Libraries 폐기 항목 | 꿈돌이 | 2016.06.14 | 330 |
11 | Vue boilerplate | 꿈돌이 | 2017.06.02 | 378 |
» | 코드이그나이터 3.1.3에서 HMVC 오류 대응 | 꿈돌이 | 2017.03.01 | 467 |
9 | PHP 내장 웹서버 띄우기 | 꿈돌이 | 2017.09.04 | 470 |
8 | Windows에서 Composer로 slim 설치하기 | 꿈돌이 | 2017.06.01 | 553 |
7 | Vue.js td내 input 태그에서 v-for | 꿈돌이 | 2017.12.19 | 560 |
6 | axios post로 데이터 안 넘어갈 때 체크할 거 | 꿈돌이 | 2018.10.24 | 606 |
5 | 코드익나이터 참고 | 꿈돌이 | 2016.06.01 | 612 |
4 | Windows에서 Composer로 CodeIgniter 설치하기 | 꿈돌이 | 2016.06.06 | 1124 |
3 | CodeIgniter - Helper 폐기 항목 | 꿈돌이 | 2016.06.14 | 1205 |
2 | slim routeplaceholder | 꿈돌이 | 2020.02.27 | 3313 |
1 | DB 순번 시퀀스 초기화 | 꿈돌이 | 2017.12.25 | 12584 |