X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-profile.php;h=6d2805798f267b9aae44a37a4be9c110eb1f92fa;hb=c7958232aa15dd87e8fff4b837536173f2f3dbf6;hp=e0f5c584129fe01432e049f6d3ccf41e6e6d1c03;hpb=ac04130f9ccbaba51d7d7992d8a10c38db776eee;p=mailer.git diff --git a/inc/extensions/ext-profile.php b/inc/extensions/ext-profile.php index e0f5c58412..6d2805798f 100644 --- a/inc/extensions/ext-profile.php +++ b/inc/extensions/ext-profile.php @@ -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')) && ($CSS != 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; }