]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_holiday.php
Global variables rewritten
[mailer.git] / inc / reset / reset_holiday.php
index ec2db88bd8e097f861d2592869dfd7a68aa40531..bd197bfabbbdeefd5a486c70b3b75fe01884b70b 100644 (file)
@@ -40,7 +40,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($CSS == 1) || ((!defined('__DAILY_RESET')) && (getConfig('holiday_mode') == "RESET"))) return;
+if (($GLOBALS['output_mode'] == 1) || ((!defined('__DAILY_RESET')) && (getConfig('holiday_mode') == "RESET"))) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Check for holidays we need to enable and send email to user