Add Tomcat 11

This commit is contained in:
Steffen Lange 2025-02-26 17:20:19 +01:00
parent 21617be045
commit d37597e6aa

15
modules/Tomcat11.php Normal file
View file

@ -0,0 +1,15 @@
<?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;
}
}
?>