]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/birthday_mails.php
Global variables rewritten
[mailer.git] / inc / mails / birthday_mails.php
index f843766557d0def1fd54188f51dff12684d23370..3edf763e9e926ff7300b6bc7a506e772ec15aa86 100644 (file)
@@ -40,8 +40,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode
-global $CSS;
-if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+if (($GLOBALS['output_mode'] == 1) || (!defined('__DAILY_RESET'))) return;
 
 // Get current day (01 to 31), month (01 to 12) and year (4-digits year)
 $DAY   = date("d", time());