X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=mailid_top.php;h=b68409ad3aa8d94ee8a02eb931e4a9edd8f08487;hp=6af37a64d2868d90be4b007d5f8ccee7a475e057;hb=ce00488222ee7d5d7559ccfdab86cb59694a681c;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0 diff --git a/mailid_top.php b/mailid_top.php index 6af37a64d2..b68409ad3a 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -45,11 +45,11 @@ $GLOBALS['output_mode'] = 0; // Load the required file(s) require("inc/config.php"); -if (isBooleanConstantAndTrue('mxchange_installed')) { +if (isInstalled()) { // Is the extension active if (!EXT_IS_ACTIVE("mailid", true)) { // Is not activated/installed yet! - addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "mailid"); + addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "mailid"); } // END - if // Secure all data @@ -162,7 +162,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { if (($time > 0) && ($payment > 0)) { if (!empty($code)) { // Generate code - $img_code = GEN_RANDOM_CODE(getConfig('code_length'), $code, $url_uid, $DATA); + $img_code = generateRandomCodde(getConfig('code_length'), $code, $url_uid, $DATA); } // END - if switch ($mode) {