// 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
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) {