KEY(userid),
PRIMARY KEY(id)
) TYPE=MyISAM";
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_min_amount bigint(20) not null default '40000'";
+ $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_min_payout bigint(20) not null default '40000'";
+ $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_min_withdraw bigint(20) not null default '5000'";
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_id bigint(20) not null default '0'";
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_md5 varchar(32) not null default ''";
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD wernis_api_url varchar(255) not null default 'http://www.wds66.com/api/'";
default: // Do stuff when extension is loaded
$DUMMY = LOAD_CONFIG("0");
- $_CONFIG['wernis_min_amount'] = $DUMMY['wernis_min_amount'];
- $_CONFIG['wernis_api_id'] = $DUMMY['wernis_api_id'];
- $_CONFIG['wernis_api_md5'] = $DUMMY['wernis_api_md5'];
- $_CONFIG['wernis_api_url'] = $DUMMY['wernis_api_url'];
- $_CONFIG['wernis_refid'] = $DUMMY['wernis_refid'];
+ $_CONFIG['wernis_min_payout'] = $DUMMY['wernis_min_payout'];
+ $_CONFIG['wernis_min_withdraw'] = $DUMMY['wernis_min_withdraw'];
+ $_CONFIG['wernis_api_id'] = $DUMMY['wernis_api_id'];
+ $_CONFIG['wernis_api_md5'] = $DUMMY['wernis_api_md5'];
+ $_CONFIG['wernis_api_url'] = $DUMMY['wernis_api_url'];
+ $_CONFIG['wernis_refid'] = $DUMMY['wernis_refid'];
unset($DUMMY);
break;
}