CakePHP:在子文件夹中组织控制器
问题描述:
在CakePHP中是否可以在子文件夹中组织控制器(和模型)?谢谢。
Is it possible in CakePHP to organise controllers (and models) in subfolders? Thanks.
答
可以,但已弃用。请参见此处。此页的最后一篇文章介绍了如何在引导程序中执行该操作。
Yes you can, but it is deprecated. See the discussion here. The last post on this page describes how to do it in the bootstrap.