From c70418b615be4f3f0f2de88bb11afd1077124db9 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 19 Feb 2014 18:04:08 +0800 Subject: [PATCH] ConvertStyle.php --- ConvertStyle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConvertStyle.php b/ConvertStyle.php index 9184de26..e637519c 100644 --- a/ConvertStyle.php +++ b/ConvertStyle.php @@ -18,11 +18,11 @@ class Pman_Core_ConvertStyle extends Pman } function relPath($base, $url) - { - print_r($url);exit; + { if (preg_match('/^(http|https|mailto):/',$url)) { return $url; } + $ui = parse_url($base); if (substr($url,0,2) == '//') { -- 2.39.2