Caching plugin and normal controllers with duplicate names

前端 未结 3 1896
甜味超标
甜味超标 2021-01-27 12:28

I\'m running into a problem related to caching, plugins and duplicate model names in Cake 2.0. My application has several controllers containing only actions for public use (vie

3条回答
  •  余生分开走
    2021-01-27 13:11

    This turns out to be a known issue (which doesn't make it less annoying) and will only be fixed in a next major release, as per this Cake bug report.

    PHP 5.2 doesn't have namespace support which is apparently needed for Cake to support duplicate classnames. PHP 5.3 has namespace support and Cake 3.0 will require that version.

提交回复
热议问题