This commit is contained in:
qo-op 2020-05-28 19:52:53 +02:00
parent e532f9a066
commit b270216e4d
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ if (!empty($_GET['pubkey'])){
// ASTROPORT UGGLY PATCH.... MMMMmmmm. but it should works.
$YOU = shell_exec('ps auxf --sort=+utime | grep -w ipfs | grep -v -E "color=auto|grep" | tail -n 1 | cut -d " " -f 1');
$pubkey = shell_exec('cat /home/'.$YOU.'/secret.astroport.key | grep G1PUB | cut -d '"' -f 2');
$pubkey = shell_exec('cat /home/'.$YOU.'/secret.astroport.key | grep G1PUB | cut -d \'"\' -f 2');
$contribution_url = 'https://' . $api_node . '/api/#/v1/payment/' . $pubkey . '?amount=10|20|50|100|1000&comment=don&redirect_url=https%3A%252F%252F' . $api_node . '&cancel_url=https%3A%252F%252F' . $api_node;
$display_pubkey = (!empty($_GET['display_pubkey']));