mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fixes for JS/CSS Cache. Correct file-count displayed in admin. minify code on output.
This commit is contained in:
@@ -326,10 +326,16 @@ class ecache {
|
||||
$mask = ($mask == null) ? '.*\.cache\.bin' : $mask;
|
||||
}
|
||||
|
||||
if($type == 'jscss')
|
||||
if($type == 'js')
|
||||
{
|
||||
$path = e_WEB."cache/";
|
||||
$mask = ($mask == null) ? '.*(\.js|\.css)$' : $mask;
|
||||
$mask = ($mask == null) ? '.*\.js' : $mask;
|
||||
}
|
||||
|
||||
if($type == 'css')
|
||||
{
|
||||
$path = e_WEB."cache/";
|
||||
$mask = ($mask == null) ? '.*\.css' : $mask;
|
||||
}
|
||||
|
||||
if((null == $path) || (null == $mask))
|
||||
|
Reference in New Issue
Block a user