]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/bonus_mails.php
Global variables rewritten
[mailer.git] / inc / mails / bonus_mails.php
index 591ae9e2e64a01930e4e2fa6e35aff9455e35640..ff07609ab54c7bdf1b1fddb4186b102ef78a116d 100644 (file)
@@ -40,8 +40,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode
-global $CSS;
-if ($CSS == 1) return;
+if ($GLOBALS['output_mode'] == 1) return;
 
 // Create timemark from saved month
 $mark = mktime(0, 0, 0, getConfig('last_month'), date("d", time()), date('Y', time()));