Disable JS and CSS Minifier
Posted: 11 Jan 2014, 10:32
viewtopic.php?f=3&t=409#p1787
Open a protected/config/main.php file
Comment the code:
1.
2.
and
instead of:
write:
And clear site's cache
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) ? 0 : 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