코드이그나이터 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
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
21 | nginx site enable | 꿈돌이 | 2024.09.07 | 70 |
20 | slim routeplaceholder | 꿈돌이 | 2020.02.27 | 4291 |
19 | slim 4 , Intelephense | 꿈돌이 | 2020.01.17 | 363 |
18 | axios post로 데이터 안 넘어갈 때 체크할 거 | 꿈돌이 | 2018.10.24 | 662 |
17 |
윈도우에서 사설인증서로 https localhost 사용하기
![]() | 꿈돌이 | 2018.08.24 | 329 |
16 | php obfuscator | 꿈돌이 | 2018.01.31 | 267 |
15 | DB 순번 시퀀스 초기화 | 꿈돌이 | 2017.12.25 | 12970 |
14 | Vue.js td내 input 태그에서 v-for | 꿈돌이 | 2017.12.19 | 676 |
13 |
Vue Slim으로 카테고리 만들기
![]() | 꿈돌이 | 2017.11.10 | 298 |
12 | Doctrine DBAL 메모 | 꿈돌이 | 2017.10.27 | 301 |
11 |
Vue Tree view with Single file component
![]() | 꿈돌이 | 2017.09.29 | 437 |
10 | PHP 내장 웹서버 띄우기 | 꿈돌이 | 2017.09.04 | 602 |
9 |
vue-slim-medoo boilerplate
![]() | 꿈돌이 | 2017.06.04 | 327 |
8 |
Vue boilerplate
![]() | 꿈돌이 | 2017.06.02 | 473 |
7 |
Slim boilerplates
![]() | 꿈돌이 | 2017.06.02 | 257 |
6 | Windows에서 Composer로 slim 설치하기 | 꿈돌이 | 2017.06.01 | 620 |
» | 코드이그나이터 3.1.3에서 HMVC 오류 대응 | 꿈돌이 | 2017.03.01 | 541 |
4 | CodeIgniter - Helper 폐기 항목 | 꿈돌이 | 2016.06.14 | 1262 |
3 | CodeIgniter - Class Libraries 폐기 항목 | 꿈돌이 | 2016.06.14 | 481 |
2 | Windows에서 Composer로 CodeIgniter 설치하기 | 꿈돌이 | 2016.06.06 | 1215 |