1
내 codeigniter 응용 프로그램에서 나는 codeigniter HMVC를 사용하고 있습니다. 그리고 그것은 환상적으로 작동합니다!Codeigniter HMVC 모듈 위치
는하지만이 개 모듈 폴더를 갖고 싶어 다음 application/controllers/
폴더 applications/
폴더에
- 하나.
이렇게하면 modules_location
배열을 어떻게 변경해야하는지 알 수 없습니다. 이 순간 내 modules_location
에서 은 다음과 같습니다
$config['modules_locations'] = array(
APPPATH.'modules/' => '../modules/',
);
난 그냥이 시스템 작업을 할 한 줄을 추가해야 하지만, 어느?
$config['modules_locations'] = array(
APPPATH.'modules/core/' => '../modules/core/',
APPPATH.'modules/plugins/' => '../modules/plugins/',
);
및 예상대로 작동하고 :
나는 또한 응용 프로그램 폴더 외부에서 모듈 루트를 외부화 할 수 없다.이 행운이 있었나요? 감사 – mils