Question

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?

Was it helpful?

OTHER TIPS

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>.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top