Page 1 of 1

Disable JS and CSS Minifier

PostPosted: 11 Jan 2014, 10:32
by Xpycm
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