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