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 c469c3a commit 6781245
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 @@ -460,7 +460,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 @@ -423,7 +423,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 @@ -564,7 +564,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 6781245

Please sign in to comment.