mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Restructure how incorrect ebook URLs are redirected
This commit is contained in:
parent
d6a2bdcbc8
commit
d4c7703cf0
6 changed files with 62 additions and 72 deletions
|
@ -1,11 +0,0 @@
|
|||
<?
|
||||
namespace Exceptions;
|
||||
|
||||
class SeeOtherEbookException extends AppException{
|
||||
public string $Url;
|
||||
|
||||
public function __construct(string $url = ''){
|
||||
$this->Url = $url;
|
||||
parent::__construct('This ebook is at a different URL: ' . $url);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue