ConvertStyle.php
authorEdward <edward@roojs.com>
Wed, 19 Feb 2014 11:18:14 +0000 (19:18 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Feb 2014 11:18:14 +0000 (19:18 +0800)
ConvertStyle.php

index 61af931..1f7b466 100644 (file)
@@ -19,7 +19,7 @@ class Pman_Core_ConvertStyle extends Pman
     
     function relPath($base, $url)
     {  
-        print_r($url);exit;
+        
         if (preg_match('/^(http|https|mailto):/',$url)) {
             return $url;
         }
@@ -33,7 +33,7 @@ class Pman_Core_ConvertStyle extends Pman
         if (substr($url,0,1) == '/') {
             return $ui['scheme'] .'://'.$ui['host']. $url;
         }
-        
+        print_r($url);exit;
         if (substr($ui['path'], -1) == '/') {
            return $ui['scheme'] .'://'.$ui['host']. $ui['path'] . $url;
         }