mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Remove dead code path
This commit is contained in:
parent
2714dba324
commit
bb80fb206d
1 changed files with 0 additions and 4 deletions
|
@ -64,10 +64,6 @@ try{
|
|||
// Increment local download count, expires in 2 weeks
|
||||
$downloadCount++;
|
||||
setcookie('download-count', (string)$downloadCount, ['expires' => strtotime('+2 week'), 'path' => '/', 'domain' => SITE_DOMAIN, 'secure' => true, 'httponly' => false, 'samesite' => 'Lax']);
|
||||
|
||||
if(!$showThankYouPage){
|
||||
exit();
|
||||
}
|
||||
}
|
||||
catch(Exceptions\InvalidFileException | Exceptions\EbookNotFoundException){
|
||||
Template::Emit404();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue