PatchBot/modules/OPNsense.php
2023-01-16 17:17:11 +01:00

14 lines
313 B
PHP

<?php
class OPNsense extends PatchBase {
function __construct() {
parent::__construct('Deciso B.V.', 'OPNsense', 'https://opnsense.org/download/');
}
function check() : bool {
if ($this->fetch('https://opnsense.org/download/'))
return $this->parse('/version *= *"([\d.]+)"/');
return false;
}
}
?>