mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 20:36:38 -04:00
Add PD_YEAR constant for use across the site
This commit is contained in:
parent
852ccba145
commit
3632463c13
5 changed files with 8 additions and 6 deletions
|
@ -32,6 +32,8 @@ const SOURCE_PROJECT_GUTENBERG_AUSTRALIA = 8;
|
|||
|
||||
const AVERAGE_READING_WORDS_PER_MINUTE = 275;
|
||||
|
||||
define('PD_YEAR', intval(gmdate('Y')) - 96);
|
||||
|
||||
// No trailing slash on any of the below constants.
|
||||
const SITE_URL = 'https://standardebooks.org';
|
||||
const SITE_ROOT = '/standardebooks.org';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue