문제

I'm currently trying to migrate from CakePHP 1.3 to 2.0. Do you know an alternative for Configure::getInstance() that works in CakePHP 2.0?

도움이 되었습니까?

다른 팁

I don't know why you used Configure::getInstance() in CakePHP 1.3, but all methods of the Configure class in CakePHP 2.0 are static, so you can call them with Configure::<METHOD_NAME>.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top