aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-06-13 18:26:18 +0000
committerrvelices <rv-github@modusoptimus.com>2013-06-13 18:26:18 +0000
commit25b6955cef548f57e0dc7a5fbfc5af74eed40dd2 (patch)
treef231035f4b42d54ef5e16d346f067496b33f001b /include/template.class.php
parent83cbcd34303716da4a215987fe02e424ed7adca4 (diff)
combine_script recognizes path starting with // as absolute urls
git-svn-id: http://piwigo.org/svn/trunk@23184 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/template.class.php')
-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;
}
}