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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user