From 8ec3348229a6d4c5dc58ff003168543eb7ec9162 Mon Sep 17 00:00:00 2001 From: poka Date: Wed, 13 Nov 2019 22:08:52 +0100 Subject: [PATCH] add variable to conf.php --- public/ajax/getG1PubKey.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/ajax/getG1PubKey.php b/public/ajax/getG1PubKey.php index 862b7a9..e92a9a5 100644 --- a/public/ajax/getG1PubKey.php +++ b/public/ajax/getG1PubKey.php @@ -1,14 +1,16 @@ 0\''); + $silkPubKeyUser = shell_exec('curl -s $g1_node/wot/lookup/$parseUser | head | grep -i -w -A 3 "pubkey" | awk -F \'"\' \'{ print $4 }\' | awk \'NF > 0\''); putenv("silkPubKeyUser=$silkPubKeyUser"); $silkUser = system('echo "$silkPubKeyUser" | tail -n2 | head -n1'); if ($silkUser == $parseUser)