PatchBot/modules/IPXE.php
2021-03-13 12:16:32 +01:00

14 lines
305 B
PHP

<?php
class IPXE extends PatchBase {
function __construct() {
parent::__construct('Michael Brown', 'iPXE', 'https://ipxe.org/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/ipxe/ipxe/tags'))
return $this->parse_json('name');
return false;
}
}
?>