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

viewtopic.php?f=3&t=409#p1787

Open a protected/config/main.php file
Comment the code:
1.
Code: Select all
'controllerMap'=>array(
    
'min'=>array(
        
'class'=>'ext.minScript.controllers.ExtMinScriptController',
    ),
),  

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


and

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

write:
Code: Select all
'useMinify' => false,  


And clear site's cache
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
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 8 guests

cron