]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_holiday.php
Mahor rewrite:
[mailer.git] / inc / reset / reset_holiday.php
index 6c82e94e9398140edaecce6fd55560598df1ccdd..3048ee52420f106722c01ad6538c627713ac992b 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')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
+if (($CSS == 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