]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
More fixes for surfbar, SQL_QUERY_ESC() now escapes zeros
[mailer.git] / inc / extensions / ext-profile.php
index 87ce68aa670092c4dc3f2b99d6d7688af2b0571c..6173b778f12d403bb4aafb75c73181a2157b4c71 100644 (file)
@@ -121,10 +121,10 @@ case "update": // Update an extension
 
 default: // Do stuff when extension is loaded
        // Do we have a daily-reset-run?
-       if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
        {
                // So let's check for profiles which needs an update
-               $INC_POOL[] = PATH."inc/profile-updte.php";
+               $INC_POOL[] = sprintf("%sinc/profile-updte.php", PATH);
        }
        break;
 }