我修改config.php的配置不起作用,数据库连接不上和修改定界符也不行
这是我的config.php代码
<?php
return array(
 'APP_DEBUG' => true,
'DB_FIELD_CACHE' =>  flase,
'TMPL_L_DELIM'=>'<{', //修改左定界符
'TMPL_R_DELIM'=>'}>', //修改右定界符 'DB_TYPE'=>'mysql',   //设置数据库类型
'DB_HOST'=>'localhost',//设置主机
'DB_NAME'=>'thinkphp',//设置数据库名
'DB_USER'=>'root',    //设置用户名
'DB_PWD'=>'',        //设置密码
'DB_PORT'=>'3306',   //设置端口号
'SHOW_PAGE_TRACE'=>true,//开启页面Trace
);
?>这是我的IndexAction.php<?php
class IndexAction extends Action {
public function index(){
$n=M('User');
$arr=$n->select();
//var_dump($arr);
//$name='王';
$this->assign('data',$arr);
$this->display();
}  
}
?>
这是index.html<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<volist name='data' id='vo'><{$vo.id}>----<{$vo.username}>--<{$vo.sex}>
</volist>
</body>
</html