|
@@ -48,11 +48,11 @@ |
|
|
block discarded – undo |
|
48
|
48
|
|
|
49
|
49
|
private static function urlGetAbsolute() { |
|
50
|
50
|
|
|
51
|
|
- $http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 's' : '') . '://'; |
|
|
51
|
+ $http = 'http'.((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 's' : '').'://'; |
|
52
|
52
|
|
|
53
|
53
|
$uri = self::uriGetAbsolute(); |
|
54
|
54
|
|
|
55
|
|
- return ( $http . (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost') . $uri . "/" ); |
|
|
55
|
+ return ($http.(isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost').$uri."/"); |
|
56
|
56
|
|
|
57
|
57
|
} |
|
58
|
58
|
|
Please login to merge, or discard this patch.