Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/12661
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed May 3, 2024
1 parent 572cab7 commit 3469514
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion upload/catalog/controller/startup/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ public function permission() {
$this->language->load('error/permission');

$this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . ' 403 Forbidden');
$this->response->setOutput(['error' => $this->language->get('error_permission')]);
$this->response->setOutput(['error' => $this->language->get('text_error')]);
}
}
3 changes: 3 additions & 0 deletions upload/catalog/language/en-gb/error/permission.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
// Text
$_['text_error'] = 'The page you requested cannot be found.';

0 comments on commit 3469514

Please sign in to comment.