我遇到了这个问题。在我的css代码中,我有以下内容:
.dataTables_wrapper .footer {
padding: 15px;
border-top: 1px solid #c1c1c1;
border-radius: 0 0 2px 2px;
background: url('/img/layout/content/box/actions-bg.png') #f0f1f4 repeat-x;
}
我收到此错误:
错误404未找到http://backoffice.example.com/products/img/layout/content/box/actions-bg.png
以某种方式cakePHP添加了我的控制器的名称"产品"到了路上。所以,错误是因为cakePHP找不到名为' img'
的方法有什么想法吗?