require ("inc/config.php");
// Is the script installed?
-if (defined('mxchange_installed') && (mxchange_installed)) {
+if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed'))) {
// Check for userid
if (!empty($_GET['uid'])) {
// Init user ID
// Set mode depending on how many mails the member has to confirm
$locked = false;
- if (($ref_payout > 0) && ($_CONFIG['allow_direct_pay'] == 'N')) $locked = true;
+ if (($ref_payout > 0) && ($_CONFIG['allow_direct_pay'] == "N")) $locked = true;
// Is begging rallye active?
- if ($_CONFIG['beg_rallye'] == 'Y') {
+ if ($_CONFIG['beg_rallye'] == "Y") {
// Add points to rallye account
$result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=beg_points+%s WHERE userid=%d LIMIT 1",
array($points, $uid), __FILE__, __LINE__);