![yii隐藏错误提示](https://img.php.cn/upload/article/000/000/041/5e4ba2cb94eea251.jpg)
在入口文件index.php中,进行如下处理即可:
(推荐教程:yii框架)
加上: error_reporting (0);
注释: defined('YII_DEBUG') or define('YII_DEBUG',true);
更多编程相关内容,请关注php中文网编程入门栏目!
Atas ialah kandungan terperinci yii隐藏错误提示. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!