1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-04 20:52:34 +02:00

Merge pull request #3402 from SimSync/fix_3390

fixes #3390 Added check for "//" at the beginning for protocol-less path
This commit is contained in:
Cameron 2018-08-26 10:36:40 -07:00 committed by GitHub
commit 2153b43ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1343,7 +1343,8 @@ class e_jsmanager
$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.