DataObjects/pman.links.ini
[Pman.Core] / ConvertStyle.php
index ef64495..3807868 100644 (file)
@@ -26,6 +26,10 @@ class Pman_Core_ConvertStyle extends Pman
         
         $ui = parse_url($base);
         
+        if($ui['host'] == 'localhost'){
+            return $ui['scheme'] .'://'.$ui['host']. $ui['path'] . '/'. $url;
+        }
+        
         if (substr($url,0,2) == '//') {
             return $ui['scheme'] .':' .  $url;
         }