From f995db23ea2400d91f9314ebb5328ed6c1c4a502 Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Tue, 20 Sep 2022 19:15:09 +0100 Subject: [PATCH] Change inclusion of $giteaKey from read file to require PHP file. --- report-issue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-issue.php b/report-issue.php index b484096..69abb45 100644 --- a/report-issue.php +++ b/report-issue.php @@ -31,7 +31,7 @@ $detail = validate($_POST["detail"]); // Get API Key for git.fjla.uk - $giteaKey = file_get_contents('/srv/php-keys/athena/gitea'); + require '/srv/php-keys/athena/gitea'; // Set httpHeaders $httpHeaders = array(