File: /var/www/BtMiners/BtMiners-store/wp-config.php
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
* @package WordPress
*/
// define('WP_DEBUG', false); // To enable debugging. Leave things just like this to output errors, warnings, notices to the screen:
// define( 'WP_DEBUG_LOG', true ); // To turn on logging
// define( 'WP_DEBUG_DISPLAY', true ); // To prevent output of errors, warnings, notices to the screen (which I personally find SUPER annoying):
// define('SCRIPT_DEBUG', true);
// define( 'WP_ENVIRONMENT_TYPE', 'development' );
// define( 'QM_ENABLE_CAPS_PANEL', true );
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
$host = 'localhost';
$dbname = 'prod_btminers_store';
$username = 'mysql';
$password = '';
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', $dbname );
/** Database username */
define( 'DB_USER', $username );
/** Database password */
define( 'DB_PASSWORD', $password );
/** Database hostname */
define( 'DB_HOST', $host );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
//cdn
$cdnHost = 'https://cdn-resource.btminer.com';
$cssjsCdnHost = 0;
define('CDN_HOST',$cdnHost);
define('CSS_JS_CDN_HOST_BOOL',$cssjsCdnHost);
/**#@+
* Authentication unique keys and salts.
*
* Change these to different unique phrases! You can generate these using
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
*
* You can change these at any point in time to invalidate all existing cookies.
* This will force all users to have to log in again.
*
* @since 2.6.0
*/
define( 'AUTH_KEY', 'r7hz5g!i=bgJH~1~>:8h2k[2A7I,kq3$[SGsKI=$W.G63QAjz<]*`T0kvg&q=;3T' );
define( 'SECURE_AUTH_KEY', ':7$&b/uw}?7gS5,ceO@n#p%$918r|2z4K[Ha,)>hfy[<dm@EM{F[:&v?3c+]|N6X' );
define( 'LOGGED_IN_KEY', 'b45iAed*A UdrdRI#dT2gf{@kxy{V&q m6[YrMWF-A6.vIea[|^NctpW8EcO@~eU' );
define( 'NONCE_KEY', '#alTHtp|F#`-#[+DPZo]%Zt||?=FI)zxR.WaF i- upV4~Qh](.y6):qGm>.^2F&' );
define( 'AUTH_SALT', 'rNxt0`Nv1;]U.gb7@FIx,1%HXjhN+syrr2__e1SFbM/64P(Ot3XGn@`Y).aPSn&K' );
define( 'SECURE_AUTH_SALT', ';q3*d@F2IiA+K#pnYH#7/!e2Bj!6Y%nG?Z>{}ti ]P3FG`)5$fTI<C9XwL+=Uq!<' );
define( 'LOGGED_IN_SALT', 'BJgJx~9[UM1Q!tRC3.J|0li;]nF1=/k!79n2/C_3QZlcfY3Pw0t!.1 slQ>]NO[Z' );
define( 'NONCE_SALT', '_Ls4]WtZ?%xn<g,XbZZ7nHT6kv|FRf*NIk- SmsWB&z]8+n?bo<+hb04U1X%H0HJ' );
/**#@-*/
/**
* WordPress database table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
ini_set('serialize_precision', -1);
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://wordpress.org/support/article/debugging-in-wordpress/
*/
// define( 'WP_DEBUG', false );
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
if ( ! defined( 'FS_METHOD' ) ) define( 'FS_METHOD', 'direct' );
/* Add any custom values between this line and the "stop editing" line. */
// define( 'WP_HTTP_BLOCK_EXTERNAL', true );
// define( 'WP_ACCESSIBLE_HOSTS', '*.wordpress.org,www.example.com' );
if ($_SERVER['HTTPS'] == "on") {
define('WP_HOME','https://'.$_SERVER["HTTP_HOST"]);
define('WP_SITEURL','https://'.$_SERVER["HTTP_HOST"]);
}else{
define('WP_HOME','http://'.$_SERVER["HTTP_HOST"]);
define('WP_SITEURL','http://'.$_SERVER["HTTP_HOST"]);
}
//plaid
$plaidTokenCreate = 'https://production.plaid.com/link/token/create';
$plaidTokenExchange = 'https://production.plaid.com/item/public_token/exchange';
$plaidAuthget = 'https://production.plaid.com/auth/get';
$plaidIdentityget = 'https://production.plaid.com/identity/get';
$plaidClientid = '62f1db4997d5700014286c39';
$plaidSecrct = 'd2e2e87eea0e4e6b3926e06d1de576';
$plaidProcessor = 'https://production.plaid.com/processor/token/create';
$plaidLoading = WP_SITEURL.'/plaid';
define('PLAID_TOKEN_CREATE',$plaidTokenCreate);
define('PLAID_TOKEN_EXCHANGE',$plaidTokenExchange);
define('PLAID_AUTH_GET',$plaidAuthget);
define('PLAID_IDENTITY_GET',$plaidIdentityget);
define('PLAID_CLIENT_ID',$plaidClientid);
define('PLAID_SECRET',$plaidSecrct);
define('PLAID_PROCESSOR',$plaidProcessor);
define('PLAID_LOADING',$plaidLoading);
//worpay
$wordpayurl = 'https://secure.worldpay.com/jsp/merchant/xml/paymentService.jsp';
$wordpayMerchantcode = 'LIZHENGAPPUSD';
$wordpayUsername = 'LIZHENGAPPUSD';
$wordpayPassword = 'SZ#bt2022miners123';
//plaid获取token之后跳转的wordpay页面
$wordpayPlaidAfterPayment = WP_SITEURL.'/wp-json/echeck/v1/payment';
//信用卡支付接口
$wordpayCreditCardPayment = WP_SITEURL.'/wp-json/credit/v1/credit_payment';
//worldpay 香港
$wordpayMerchantcodeHK = 'LIZHENGHKUSD';
$wordpayUsernameHK = 'LIZHENGHKUSD';
$wordpayPasswordHK = 'dmE65voCZey9345ersk';
// 香港账号2
$wordpayMerchantcodeHkTWO = 'LIZHENGHK2USD';
$wordpayUsernameHkTWO = 'LIZHENGHK2USD';
$wordpayPasswordHkTWO = '6IQW-S3btqxDjIT';
// 美国账号2
$wordpayMerchantcodeUSTWO = 'LIZHENGUSD';
$wordpayUsernameUSTWO = 'LIZHENGUSD';
$wordpayPasswordUSTWO = '6IQW-S3btqxDjIT';
define('WORDPAY_URL',$wordpayurl);
define('WORDPAY_MERCHANT_CODE',$wordpayMerchantcodeUSTWO);
define('WORDPAY_USERNAME',$wordpayUsernameUSTWO);
define('WORDPAY_PASSWORD',$wordpayPasswordUSTWO);
define('WORDPAY_PLAID_AFTER_PAYMENT',$wordpayPlaidAfterPayment);
define('WORDPAY_CREDIT_CARD_PAYMENT',$wordpayCreditCardPayment);
define('WORDPAY_MERCHANT_CODE_HK',$wordpayMerchantcodeHK);
define('WORDPAY_USERNAME_HK',$wordpayUsernameHK);
define('WORDPAY_PASSWORD_HK',$wordpayPasswordHK);
define('WORDPAY_MERCHANT_CODE_HK_TWO',$wordpayMerchantcodeHkTWO);
define('WORDPAY_USERNAME_HK_TWO',$wordpayUsernameHkTWO);
define('WORDPAY_PASSWORD_HK_TWO',$wordpayPasswordHkTWO);
// 托管租赁续费订单走香港账号2
define('WORDPAY_MERCHANT_CODE_US_TWO',$wordpayMerchantcode);
define('WORDPAY_USERNAME_US_TWO',$wordpayUsername);
define('WORDPAY_PASSWORD_US_TWO',$wordpayPassword);
// 3ds
define('WORDPAY_DDC_URL','https://centinelapi.cardinalcommerce.com/V1/Cruise/Collect');
define('WORDPAY_DDC_URL_SITE','https://centinelapi.cardinalcommerce.com');
define('WORDPAY_DS_SECRET_KEY','ff84cef9-505b-4344-a42c-7ae3306c47fb');
define('WORDPAY_DS_ISS','641c2fb3095dc2660ad8afba');
define('WORDPAY_DS_ORG_UNIT_ID','641c2fb30132f01276909f2a');
// cb911
define('WORDPAY_CB_URL','https://api.cbresponseservices.com');
define('WORDPAY_CB_USERNAME','LIZHENG');
define('WORDPAY_CB_PASSWORD','B0EdC52b0631734a861575310a1b3a3c605f593E859F7F98FdF92605C358376d!');
//dwolla
$dwollaReceiveAccount = 'https://api.dwolla.com/funding-sources/81b50d1a-5a7f-4069-87ef-f79b09bd50fe';
$dwollaClientid = 'pdtN2djRIsppNx5iUkLoevNemir85CgMm8DJV8rd2I7QQfpNLa';
$dwollaSecrct = 'WLBbtzh0pRQY7184XKCKTUjROvTuYT5XG8deiudVT2plwxNILU';
$dwollaAccesstoken = 'https://api.dwolla.com/token';
$dwollaCustomer = 'https://api.dwolla.com/customers';
$dwollaCreatefundingsource = 'https://api.dwolla.com/funding-sources';
$dwollaGetfundingsource = 'https://api.dwolla.com/customers/%s/funding-sources';
$dwollaTransfers = 'https://api.dwolla.com/transfers';
//dwolla创建用户html页面
$dwollaHtmlCreateCustomer = WP_SITEURL.'/dwolla-customer-create';
//dwolla验证用户全拼ssn号码html页面
$dwollaHtmlRetry = WP_SITEURL.'/dwolla-personal-vcr-retry';
//dwolla验证用户额外信息html页面
$dwollaHtmlKba = WP_SITEURL.'/dwolla/kba.html';
//dwolla验证用户身份证html页面
$dwollaHtmlDocument = WP_SITEURL.'/dwolla-customer-upload-doc';
//plaid获取token之后跳转的dwolla显示余额+付款页面
$dwollaHtmlTransfer = WP_SITEURL.'/dwolla-payment';
define('DWOLLA_RECEIVE_ACCOUNT',$dwollaReceiveAccount);
define('DWOLLA_CLIENT_ID',$dwollaClientid);
define('DWOLLA_SECRET',$dwollaSecrct);
define('DWOLLA_API_ACCESS_TOKEN',$dwollaAccesstoken);
define('DWOLLA_API_CUSTOMER',$dwollaCustomer);
define('DWOLLA_API_CREATE_FUNDING_SOURCE',$dwollaCreatefundingsource);
define('DWOLLA_API_GET_FUNDING_SOURCE',$dwollaGetfundingsource);
define('DWOLLA_API_TRANSFERS',$dwollaTransfers);
define('DWOLLA_HTML_CREATE_CUSTOMER',$dwollaHtmlCreateCustomer);
define('DWOLLA_HTML_RETRY',$dwollaHtmlRetry);
define('DWOLLA_HTML_KBA',$dwollaHtmlKba);
define('DWOLLA_HTML_DOCUMENT',$dwollaHtmlDocument);
define('DWOLLA_HTML_TRANSFER',$dwollaHtmlTransfer);
define('DWOLLA_WEBHOOK_SECRET','20Bt-miners23');
$redisHost = '127.0.0.1';
$redisPort = '6379';
//$redisPassword = 'IU3ChSH9g9lq';
//redis-cache插件所需要的配置
define( 'WP_REDIS_HOST', $redisHost );
define( 'WP_REDIS_PORT', $redisPort );
//define( 'WP_REDIS_PASSWORD', $redisPassword );
define( 'WP_REDIS_TIMEOUT', 5 );
define( 'WP_REDIS_READ_TIMEOUT', 5 );
$wcLogDir = '/www/btminers_568/public/wclogs';
$wcLogDir = '';
if(!empty($wcLogDir)){
define( 'WC_LOG_DIR', $wcLogDir );
}
$btminerAdminSystemUrl = 'https://vendor.bt-miners.com';
define( 'BTMINER_ADMIN_SYSTEM_URL', $btminerAdminSystemUrl );
define( 'ADMIN_SYSTEM_URL', $btminerAdminSystemUrl );
if ( ! defined( 'WP_MEMORY_LIMIT' ) ) {
define( 'WP_MEMORY_LIMIT', '256M' );
}
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
}
//googlepay WORDPAY
define('WORDPAY_GATEWAY_MERCHANT_ID','3888b0738c22762');
define('WORDPAY_MERCHANT_NAME','Lizheng Stainless Steel Tube and Coil Corp'); //Example Merchant
define('WORDPAY_MERCHANT_ID','BCR2DN4TRLY6LQBT'); //01234567890123456789
define('WORDPAY_ENVIRONMENT','TEST');
define('WORDPAY_API_VERSION',2);
define('WORDPAY_API_VERSION_MINOR',0);
define('GOOGLEPAY_URL',$wordpayurl);
define('GOOGLEPAY_MERCHANT_CODE',$wordpayMerchantcode);
define('GOOGLEPAY_USERNAME',$wordpayUsername);
define('GOOGLEPAY_PASSWORD',$wordpayPassword);
define('GOOGLEPAY_PLAID_AFTER_PAYMENT',$wordpayPlaidAfterPayment);
define('GOOGLEPAY_CREDIT_CARD_PAYMENT',$wordpayCreditCardPayment);
// LAMEPAY信息
$lamepayAuthNo="UxVGVsV1z6OgVnLr7KakBg==";
$lamepayKeyT = "NmVhYjNiYzZjN2E1NDkwYjgwMWY1NTUzODE4OGQwODA="; // 秘钥
$lamepayIv = "0123456789uvwxyz"; // 偏移量(固定值,测试和正式环境一样)
$lamepayUrl="https://api.lamepay.com";
define('LAMEPAY_AUTH_NO',$lamepayAuthNo);
define('LAMEPAY_SIGN_KEY',$lamepayKeyT);
define('LAMEPAY_IV',$lamepayIv);
define('LAMEPAY_URL',$lamepayUrl);
// change the database for each site to avoid cache collisions
// values 0-15 are valid in a default redis config.
define( 'WP_REDIS_DATABASE', 0 );
/* That's all, stop editing! Happy publishing. */
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
define( 'WP_POST_REVISIONS', 5 ); // store a maximum of 3 revisions per post
define( 'WP_CACHE', true );
// define( 'AUTOSAVE_INTERVAL', 300 ); // auto-save every 120 seconds (2 minutes)
define( 'DISALLOW_FILE_EDIT', true ); // disable file editing
define( 'FORCE_SSL_ADMIN', true ); // force SSL for all dashboard pages
define( 'FORCE_SSL_LOGIN', true ); // force SSL for login pages
define( 'WP_CRON_LOCK_TIMEOUT', 120 ); // increase the time limit to 120 seconds (2 minutes)
// define( 'EMPTY_TRASH_DAYS', 7 ); // permanently delete trashed items after 7 days
define( 'BTMINERS_CUSTOM_RENEW_PRO_ID', 25637 );
define( 'BTMINERS_CUSTOM_HOSTING_FEE_PRO_ID', 59165 );
// 定义cdn,aws配置路径
// define( 'AWS_CONFIG_FILE', '/www/btminers_568/public/.aws/config' );
putenv('AWS_CONFIG_FILE=/www/btminers_568/public/.aws/config');
// 配置信息 2023
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
//Kinsta Malware Cleaned on Jul 24, 2024 07:07:56 UTC
// define('DISABLE_WP_CRON', true);
// 限制 PHP 执行时间
ini_set( 'max_execution_time', 45 );
define( 'AUTOMATIC_UPDATER_DISABLED', true );
// 设置并发限制
define('ACTION_SCHEDULER_LOCK_TIMEOUT', 120);
// 限制每次运行的动作数
define('ACTION_SCHEDULER_BATCH_SIZE', 20);