Home > PHP Framework > YII > yii hide error message

yii hide error message

王林
Release: 2020-02-18 16:45:59
Original
2789 people have browsed it

yii hide error message

In the entry file index.php, just do the following:

(Recommended tutorial: yii framework)

Add: error_reporting (0);

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

For more programming related content, please pay attention to php Chinese website Introduction to Programming column!

The above is the detailed content of yii hide error message. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template