Tweak donation pages

This commit is contained in:
Alex Cabal 2021-11-23 16:49:05 -06:00
parent 19913cb398
commit f8904c8979
4 changed files with 8 additions and 29 deletions

View file

@ -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.