Home > Article > PHP Framework > 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!