yii ~ disable debug

in project folder

index.php

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

modify to

defined('YII_DEBUG') or define('YII_DEBUG', false);


reference
http://puskin.in/blog/2011/05/enabledisable-debug-in-yii/

沒有留言: