// Load the required file(s)
require ("inc/config.php");
+// Is the "birthday" extension active?
+if (!EXT_IS_ACTIVE("birthday")) {
+ // Redirect to index
+ LOAD_URL("modules.php?module=index&msg=".CODE_EXTENSION_PROBLEM."&ext=birthday");
+} // END - if
+
// Is the script installed?
if (isBooleanConstantAndTrue('mxchange_installed')) {
// Script is installed so let's check for his confirmation link...
if (($data['ref_payout'] > 0) && ($_CONFIG['allow_direct_pay'] == "N")) $locked = true;
// Add points to account
- $DEPTH = 0;
+ unset($DEPTH);
ADD_POINTS_REFSYSTEM($uid, $data['points'], false, "0", $locked, strtolower($_CONFIG['birthday_mode']));
// Remove entry from table