1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Preference added to enable experimental JS/CSS Caching. JS/CSS Caching tweaked to correct broken paths.

This commit is contained in:
Cameron
2016-02-05 15:31:54 -08:00
parent fc7efdc0c6
commit a1c4707bcf
5 changed files with 92 additions and 3 deletions

View File

@@ -326,6 +326,12 @@ class ecache {
$mask = ($mask == null) ? '.*\.cache\.bin' : $mask;
}
if($type == 'jscss')
{
$path = e_WEB."cache/";
$mask = ($mask == null) ? '.*(\.js|\.css)$' : $mask;
}
if((null == $path) || (null == $mask))
{
return;