0
cakephp에 대한 마스터 라우팅을 정의하고 싶습니다.cake php 기본 라우팅이 작동하지 않습니다.
Router::connect('/:lang/:plugins/:controller/:action/*', array('lang' => 'eng', 'controller' => 'index', 'action' => 'index', 'plugin' => null), array('lang' => '[a-z]{3}'));
기본값은 작동하지 않습니다. 이 오류를 입력하면 다음 오류가 사라집니다.
/ Error: Controller could not be found.
/eng Error: EngController could not be found.
/eng/pages Error: EngController could not be found.
내 문제는 라우팅되지 않음 또는 컨트롤러 – sweb
경로가 컨트롤러를 찾을 수 없습니다. 나는 당신의 길을 잘못 보지 못했기 때문에 당신의 컨트롤러를 점검 할 것입니다. – mickburkejnr
답변이 업데이트되었습니다. – mickburkejnr