Fixed YII_DEBUG check