diff --git a/www/LOVELand/g1barre/image.php b/www/LOVELand/g1barre/image.php index 22b2084..ccc4e35 100644 --- a/www/LOVELand/g1barre/image.php +++ b/www/LOVELand/g1barre/image.php @@ -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']));