Removed the dependency on YII_DEBUG when checking the `enableCdn` parameter.