Prevent core scripts from being automatically published

Yii is automatically publishing core scripts (i.e. jQuery and some others) with each generated page. You may include following piece of code in your application configuration to disable this behavior:

[code language=”php”]

Refer to Yii API manual, CClientScript::scriptMap section, for more details.

Leave a Reply