mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 10:31:59 -04:00
Tweak donation pages
This commit is contained in:
parent
19913cb398
commit
f8904c8979
4 changed files with 8 additions and 29 deletions
|
@ -36,7 +36,7 @@ const AVERAGE_READING_WORDS_PER_MINUTE = 275;
|
|||
|
||||
define('PD_YEAR', intval(gmdate('Y')) - 96);
|
||||
|
||||
define('DONATION_HOLIDAY_ALERT_ON', time() > strtotime('December 1, ' . gmdate('Y')) || time() < strtotime('January 7, ' . gmdate('Y')));
|
||||
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);
|
||||
|
||||
// No trailing slash on any of the below constants.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue