From 25b6955cef548f57e0dc7a5fbfc5af74eed40dd2 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 13 Jun 2013 18:26:18 +0000 Subject: combine_script recognizes path starting with // as absolute urls git-svn-id: http://piwigo.org/svn/trunk@23184 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/template.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; } } -- cgit v1.2.3