코드이그나이터 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 | slim routeplaceholder | 꿈돌이 | 2020.02.27 | 3058 |
19 | slim 4 , Intelephense | 꿈돌이 | 2020.01.17 | 186 |
18 | axios post로 데이터 안 넘어갈 때 체크할 거 | 꿈돌이 | 2018.10.24 | 577 |
17 |
윈도우에서 사설인증서로 https localhost 사용하기
![]() | 꿈돌이 | 2018.08.24 | 224 |
16 | php obfuscator | 꿈돌이 | 2018.01.31 | 156 |
15 | DB 순번 시퀀스 초기화 | 꿈돌이 | 2017.12.25 | 11890 |
14 | Vue.js td내 input 태그에서 v-for | 꿈돌이 | 2017.12.19 | 512 |
13 |
Vue Slim으로 카테고리 만들기
![]() | 꿈돌이 | 2017.11.10 | 212 |
12 | Doctrine DBAL 메모 | 꿈돌이 | 2017.10.27 | 224 |
11 |
Vue Tree view with Single file component
![]() | 꿈돌이 | 2017.09.29 | 246 |
10 | PHP 내장 웹서버 띄우기 | 꿈돌이 | 2017.09.04 | 400 |
9 |
vue-slim-medoo boilerplate
![]() | 꿈돌이 | 2017.06.04 | 219 |
8 |
Vue boilerplate
![]() | 꿈돌이 | 2017.06.02 | 353 |
7 |
Slim boilerplates
![]() | 꿈돌이 | 2017.06.02 | 173 |
6 | Windows에서 Composer로 slim 설치하기 | 꿈돌이 | 2017.06.01 | 524 |
» | 코드이그나이터 3.1.3에서 HMVC 오류 대응 | 꿈돌이 | 2017.03.01 | 410 |
4 | CodeIgniter - Helper 폐기 항목 | 꿈돌이 | 2016.06.14 | 1181 |
3 | CodeIgniter - Class Libraries 폐기 항목 | 꿈돌이 | 2016.06.14 | 306 |
2 | Windows에서 Composer로 CodeIgniter 설치하기 | 꿈돌이 | 2016.06.06 | 1067 |
1 | 코드익나이터 참고 | 꿈돌이 | 2016.06.01 | 588 |