forked from axiom-team/astroport
escape
This commit is contained in:
parent
e532f9a066
commit
b270216e4d
@ -99,7 +99,7 @@ if (!empty($_GET['pubkey'])){
|
|||||||
|
|
||||||
// ASTROPORT UGGLY PATCH.... MMMMmmmm. but it should works.
|
// 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');
|
$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;
|
$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']));
|
$display_pubkey = (!empty($_GET['display_pubkey']));
|
||||||
|
Loading…
Reference in New Issue
Block a user