Change inclusion of $giteaKey from read file to require PHP file.
This commit is contained in:
parent
cacec80387
commit
f995db23ea
@ -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(
|
||||||
|
Reference in New Issue
Block a user