Add donation drive scaffolding

This commit is contained in:
Alex Cabal 2022-02-15 20:43:19 -06:00
parent 60585024b1
commit bbe89b0baf
21 changed files with 472 additions and 85 deletions

View file

@ -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';