1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

fixes #3390 Added check for // at the beginning for protocol-less path

This commit is contained in:
Achim Ennenbach
2018-08-26 13:51:16 +02:00
parent 97772a48d9
commit f08a323f05

View File

@@ -1343,7 +1343,8 @@ class e_jsmanager
$insertID =''; $insertID ='';
if(strpos($path, 'http') !== 0) // local file. // issue #3390 Fix for protocol-less path
if(strpos($path, 'http') !== 0 && strpos($path, '//') !== 0) // local file.
{ {
if($label === 'Theme CSS') // add an id for local theme stylesheets. if($label === 'Theme CSS') // add an id for local theme stylesheets.