projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea74ce5
)
ConvertStyle.php
author
Edward
<edward@roojs.com>
Fri, 21 Feb 2014 05:30:46 +0000
(13:30 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Feb 2014 05:30:46 +0000
(13:30 +0800)
ConvertStyle.php
patch
|
blob
|
history
diff --git
a/ConvertStyle.php
b/ConvertStyle.php
index
d6530bf
..
3807868
100644
(file)
--- a/
ConvertStyle.php
+++ b/
ConvertStyle.php
@@
-25,7
+25,11
@@
class Pman_Core_ConvertStyle extends Pman
}
$ui = parse_url($base);
- print_r($ui);exit;
+
+ if($ui['host'] == 'localhost'){
+ return $ui['scheme'] .'://'.$ui['host']. $ui['path'] . '/'. $url;
+ }
+
if (substr($url,0,2) == '//') {
return $ui['scheme'] .':' . $url;
}