您好,欢迎来到东饰资讯网。
搜索
您的当前位置:首页yii框架怎么打开网页调试功能

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' => '',
 ),...

更多编程相关内容,请关注Gxlcms编程入门栏目!

Copyright © 2019- huatuoyibo.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务