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

View File

@ -31,7 +31,7 @@
$detail = validate($_POST["detail"]); $detail = validate($_POST["detail"]);
// Get API Key for git.fjla.uk // Get API Key for git.fjla.uk
$giteaKey = file_get_contents('/srv/php-keys/athena/gitea'); require '/srv/php-keys/athena/gitea';
// Set httpHeaders // Set httpHeaders
$httpHeaders = array( $httpHeaders = array(