From: Edward Date: Wed, 19 Feb 2014 10:00:59 +0000 (+0800) Subject: ConvertStyle.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=21c16d0ea154055136fb76aa55317f2a0601c536 ConvertStyle.php --- 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); }