Commit 2b44a2b2 authored by tonyford's avatar tonyford
Browse files

bugfix

parent db67fa87
Pipeline #11516 passed with stage
in 18 seconds
......@@ -7,20 +7,20 @@ $address=$_GET['addr'];
define('ELECTRUMFAIR_USER',getenv('erpcuser'));
define('ELECTRUMFAIR_PASS',getenv('erpcpassword'));
define('ELECTRUMFAIR_PORT',getenv('erpcport'));
define('ELECTRUMFAIR_RPC','http://'+ELECTRUMFAIR_USER+':'+ELECTRUMFAIR_PASS+'@127.0.0.1:'+ELECTRUMFAIR_PORT);
define('ELECTRUMFAIR_RPC','http://'.ELECTRUMFAIR_USER.':'.ELECTRUMFAIR_PASS.'@127.0.0.1:'.ELECTRUMFAIR_PORT);
define('FAIRCOIND_USER',getenv('rpcuser'));
define('FAIRCOIND_PASS',getenv('rpcpassword'));
define('FAIRCOIND_PORT',getenv('rpcport'));
define('FAIRCOIND_RPC', 'http://'+FAIRCOIND_USER+':'+FAIRCOIND_PASS+'@127.0.0.1:'+FAIRCOIND_PORT);
define('FAIRCOIND_RPC', 'http://'.FAIRCOIND_USER.':'.FAIRCOIND_PASS.'@127.0.0.1:'.FAIRCOIND_PORT);
if( empty(ELECTRUMFAIR_USER) ||
empty(ELECTRUMFAIR_PASS) ||
empty(ELECTRUMFAIR_PORT) ||
empty(FAIRCOIND_USER) ||
empty(FAIRCOIND_PASS) ||
empty(FAIRCOIND_PORT) || ) exit;
empty(FAIRCOIND_PORT) ) exit;
/**
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment