像这样 :
$Setting = ClassRegistry::init('Setting'); $Settings = $Setting->find('all');
谢谢
尝试
App::uses('ClassRegistry','Utility');
在你真正使用ClassRegistry之前.