mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
This commit adds a rewrite rule for ebook downloads of the form: ``` /ebooks/some-author/some-book/downloads/some-filename.epub ``` to `www/ebooks/download.php`. That file handles the logic of whether to show a thank you page before beginning the download. Download URLs in RSS, Atom, and OPDS feeds follow the same pattern, but they have a query string parameter `?source=feed` to always skip the thank you page.
5 lines
84 B
PHP
5 lines
84 B
PHP
<?
|
|
namespace Exceptions;
|
|
|
|
class InvalidEbookFormatException extends AppException{
|
|
}
|