您的位置 首页 php

yii框架怎么打开网页调试功能

1、首先在入口文件 index.php中开启 debug 模式

defined('YII_DEBUG') or define('YII_DEBUG',true);

(相关教程推荐:yii框架)

2、protected/config/main.php 的 log 下面

'log' => array(            'class' => 'CLogRouter',            'routes' => array(                array(                    'enabled' => true,                    'class' => 'CWebLogRoute',                    'levels' => '',                    'categories' => '',                ),...

更多编程相关内容,请关注php中文网编程入门栏目!

文章来源:智云一二三科技

文章标题:yii框架怎么打开网页调试功能

文章地址:https://www.zhihuclub.com/28196.shtml

关于作者: 智云科技

热门文章

网站地图