projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/Core_watch.php
[Pman.Core]
/
ConvertStyle.php
diff --git
a/ConvertStyle.php
b/ConvertStyle.php
index
ef64495
..
3807868
100644
(file)
--- a/
ConvertStyle.php
+++ b/
ConvertStyle.php
@@
-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;
}