1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Possible fix for hardcoded css URLs with css cache.

This commit is contained in:
Cameron
2017-05-02 15:31:21 -07:00
parent 8ef08fb3ac
commit 6c828ec326

View File

@@ -1597,7 +1597,7 @@ class e_jsmanager
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]);
continue;