From 41f8ad49c8d8c14f084526c9af770151efd64374 Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 28 May 2020 20:06:02 +0200 Subject: [PATCH] ugly patch. --- www/LOVELand/g1barre/image.php | 4 ++-- www/LOVELand/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/LOVELand/g1barre/image.php b/www/LOVELand/g1barre/image.php index b3c0b6d..1ed4c02 100644 --- a/www/LOVELand/g1barre/image.php +++ b/www/LOVELand/g1barre/image.php @@ -98,8 +98,8 @@ if (!empty($_GET['pubkey'])){ $pubkey = $_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.'/.ssb/secret.dunikey | grep "pub:" | cut -d " " -f 2'); +// $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.'/.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'])); diff --git a/www/LOVELand/index.html b/www/LOVELand/index.html index a1afe6c..b1aceee 100644 --- a/www/LOVELand/index.html +++ b/www/LOVELand/index.html @@ -202,7 +202,7 @@
-
+