我在/ app / view / layouts中有以下布局(名为:“MyView.ctp”)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title_for_layout; ?></title>
<!-- add favicon here-->
<!-- js -->
<?php echo $scripts_for_layout; ?>
</head>
<body>
</body>
</html>
我在/ app / view
中有以下查看(称为MyView.ctp)<?php $html->css('fup-prototype','stylesheet', array('media”=>”all' ), false); ?>
app / webroot / css /
中的以下 css 文件(称为fup-prototype.css)但是我收到了这个错误:
我在这里做错了什么?
答案 0 :(得分:4)
而不是
array('media”=>”all' )
你很可能意味着
array('media'=>'all' )