Disable JS and CSS Minifier

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

Disable JS and CSS Minifier

Postby Xpycm » 11 Jan 2014, 10:32


Open a protected/config/main.php file
Comment the code:
Code: Select all

Code: Select all
'minScriptLmCache' => (YII_DEBUG) ? 3600,
'minScriptDisableMin' => array('/[-\.]min\.(?:js|css)$/i''/bootstrap.js$/i''/jquery.js$/i''/ckeditor.js$/i''/[-\.]pack\.(?:js|css)$/i'),


instead of:
Code: Select all
'useMinify' => true,  

Code: Select all
'useMinify' => false,  

And clear site's cache
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Web Developer
Web Developer
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2

Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 4 guests