From 21c16d0ea154055136fb76aa55317f2a0601c536 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 19 Feb 2014 18:00:59 +0800 Subject: [PATCH] ConvertStyle.php --- ConvertStyle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConvertStyle.php b/ConvertStyle.php index b4612d42..02bd2e8a 100644 --- a/ConvertStyle.php +++ b/ConvertStyle.php @@ -124,7 +124,7 @@ class Pman_Core_ConvertStyle extends Pman // import from file , must use absolutely url $this->jerr('Please use the absolutely url for link href!'); } - if (!empty($url)) { + if (!empty($url) && !preg_match("/^http(.*)$/", $href, $matches)) { // import from URL $href = $this->relPath($url, $href); } -- 2.39.2