diff --git a/e107_handlers/js_manager.php b/e107_handlers/js_manager.php index 43f1f2e52..ec2aef09d 100644 --- a/e107_handlers/js_manager.php +++ b/e107_handlers/js_manager.php @@ -1105,7 +1105,8 @@ class e_jsmanager } elseif($external) //true or 'js' { - if(strpos($path, 'http') == 0) continue; // not allowed + + if(strpos($path, 'http') === 0) continue; // not allowed $path = $tp->replaceConstants($path, 'abs').'?external=1&'.$this->getCacheId(); echo ''; echo "\n";