From 3d2be75fec4fe28e8b7087539111f39bdff06eab Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 28 May 2020 20:00:30 +0200 Subject: [PATCH] pubkey from dunikey --- www/LOVELand/g1barre/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/LOVELand/g1barre/image.php b/www/LOVELand/g1barre/image.php index ccc4e35..b3c0b6d 100644 --- a/www/LOVELand/g1barre/image.php +++ b/www/LOVELand/g1barre/image.php @@ -99,8 +99,8 @@ 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.'/.ssb/secret.dunikey | grep "pub:" | 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'])); if ($display_qrcode){