PatchBot/modules/Tomcat11.php
2025-02-26 17:20:19 +01:00

15 lines
364 B
PHP

<?php
class Tomcat11 extends PatchBase {
function __construct() {
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-11.cgi');
$this->patch->setBranch('11');
}
function check() : bool {
if ($this->fetch('https://tomcat.apache.org/download-11.cgi'))
return $this->parse('/id="([\d\.]+)"/');
return false;
}
}
?>