Change inclusion of $giteaKey from read file to require PHP file.

This commit is contained in:
Fred Boniface 2022-09-20 19:15:09 +01:00
parent cacec80387
commit f995db23ea
1 changed files with 1 additions and 1 deletions

View File

@ -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(