mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Minor unrelated updates
This commit is contained in:
@@ -1313,7 +1313,7 @@ class Session extends Wire implements \IteratorAggregate {
|
||||
// note for 302 redirects we send no header other than 'Location: url'
|
||||
$http = new WireHttp();
|
||||
$this->wire($http);
|
||||
if($status != 302) $http->sendStatusHeader($status);
|
||||
$http->sendStatusHeader($status);
|
||||
$http->sendHeader("Location: $url");
|
||||
|
||||
exit(0);
|
||||
|
Reference in New Issue
Block a user