Add Tomcat 10

This commit is contained in:
Steffen Lange 2025-02-26 17:19:57 +01:00
parent 30937d14b8
commit f974e40dfb

15
modules/Tomcat10.php Normal file
View file

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