mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug with path of all.min.css
This commit is contained in:
parent
5fc2e9e819
commit
c668a82196
2 changed files with 5 additions and 3 deletions
|
|
@ -40,10 +40,12 @@
|
|||
* минифицированый
|
||||
*/
|
||||
if(srv.Minify._allowed.css){
|
||||
var lPath = srv.Minify.MinFolder.replace(DIR, '');
|
||||
|
||||
lReplace_s = '<link rel=stylesheet href="/css/reset.css">';
|
||||
|
||||
lData = Util.removeStr(lData, lReplace_s);
|
||||
lData = lData.replace('/css/style.css', srv.Minify.MinFolder + 'all.min.css');
|
||||
lData = lData.replace('/css/style.css', lPath + 'all.min.css');
|
||||
}
|
||||
|
||||
lReplace_s = '<div id=fm class=no-js>';
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
"cache" : {"allowed" : false},
|
||||
"appcache" : false,
|
||||
"minification" : {
|
||||
"js" : false,
|
||||
"css" : false,
|
||||
"js" : true,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"img" : true
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue