Skip to content

Commit

Permalink
Fixed 404 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ADDCreative committed Jul 10, 2014
1 parent 701c5f2 commit a9630a0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion upload/catalog/controller/error/not_found.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function index() {
'common/header'
);

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found');

$this->response->setOutput($this->render());
}
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/information/information.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function index() {
'common/header'
);

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found');

$this->response->setOutput($this->render());
}
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/product/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public function index() {
'common/header'
);

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found');

$this->response->setOutput($this->render());
}
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/product/manufacturer.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public function info() {
'common/header'
);

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found');

$this->response->setOutput($this->render());
}
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/product/product.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function index() {
'common/header'
);

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');
$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 404 Not Found');

$this->response->setOutput($this->render());
}
Expand Down

0 comments on commit a9630a0

Please sign in to comment.