@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | */ |
113 | 113 | public static function header($name, $default = null) |
114 | 114 | { |
115 | - return self::getInstance()->getHeader($name, $default); |
|
115 | + return self::getInstance()->getHeader($name, $default); |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | /** |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | { |
223 | 223 | if (null === $url) $url = $this->getServer('HTTP_ORIGIN'); |
224 | 224 | ob_start(); |
225 | - header('Location: ' . $url); |
|
225 | + header('Location: '.$url); |
|
226 | 226 | ob_end_clean(); |
227 | 227 | Security::getInstance()->updateSession(); |
228 | 228 | exit(_("Redireccionando...")); |
@@ -267,9 +267,9 @@ discard block |
||
267 | 267 | $host = $this->getServerName(); |
268 | 268 | $protocol = $protocol ? $this->getProtocol() : ''; |
269 | 269 | $url = ''; |
270 | - if (!empty($host) && !empty($protocol)) $url = $protocol . $host; |
|
270 | + if (!empty($host) && !empty($protocol)) $url = $protocol.$host; |
|
271 | 271 | if (!in_array($this->getServer('SERVER_PORT'), [80, 443])) { |
272 | - $url .= ':' . $this->getServer('SERVER_PORT'); |
|
272 | + $url .= ':'.$this->getServer('SERVER_PORT'); |
|
273 | 273 | } |
274 | 274 | return $url; |
275 | 275 | } |