mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Possible fix for hardcoded css URLs with css cache.
This commit is contained in:
@@ -1597,7 +1597,7 @@ class e_jsmanager
|
|||||||
|
|
||||||
foreach($match[1] as $k=>$v)
|
foreach($match[1] as $k=>$v)
|
||||||
{
|
{
|
||||||
if(substr($v,5) == 'data:' || substr($v,4) == 'http')
|
if(strpos($v,'data:') === 0 || strpos($v,'http') === 0)
|
||||||
{
|
{
|
||||||
unset($match[0][$k]);
|
unset($match[0][$k]);
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user