aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 5a99cab6f..7ee5c0457 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -957,7 +957,7 @@ final class Script
function is_remote()
{
- return url_is_remote( $this->path );
+ return url_is_remote( $this->path ) || strncmp($this->path, '//', 2)==0;
}
}