mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Add donation drive scaffolding
This commit is contained in:
parent
60585024b1
commit
bbe89b0baf
21 changed files with 472 additions and 85 deletions
|
@ -44,7 +44,8 @@ const AVERAGE_READING_WORDS_PER_MINUTE = 275;
|
|||
define('PD_YEAR', intval(gmdate('Y')) - 96);
|
||||
|
||||
define('DONATION_HOLIDAY_ALERT_ON', time() > strtotime('November 15, ' . gmdate('Y')) || time() < strtotime('January 7, ' . gmdate('Y')));
|
||||
define('DONATION_ALERT_ON', rand(1, 4) == 2);
|
||||
define('DONATION_ALERT_ON', DONATION_HOLIDAY_ALERT_ON || rand(1, 4) == 2);
|
||||
define('DONATION_DRIVE_ON', false);
|
||||
|
||||
// No trailing slash on any of the below constants.
|
||||
const SITE_URL = 'https://standardebooks.org';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue