]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
Global variables rewritten
[mailer.git] / inc / extensions / ext-profile.php
index e0f5c584129fe01432e049f6d3ccf41e6e6d1c03..d9fe6f61a731fbb99c295f9e3fddc9c0465aa6c5 100644 (file)
@@ -123,9 +123,9 @@ case "test": // For testing purposes. For details see file inc/modules/admin/wha
 
 default: // Do stuff when extension is loaded
        // Do we have a daily-reset-run?
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1)) {
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
                // So let's check for profiles which needs an update
-               $INC_POOL[] = sprintf("%sinc/profile-updte.php", PATH);
+               $INC_POOL[] = sprintf("%sinc/profile-updte.php", constant('PATH'));
        }
        break;
 }