Home  >  Article  >  PHP Framework  >  yii hide error message

yii hide error message

王林
王林Original
2020-02-18 16:45:592711browse

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!

Statement:
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