From f974e40dfb90f81eb2928c7e78caece218e97cea Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 26 Feb 2025 17:19:57 +0100 Subject: [PATCH] Add Tomcat 10 --- modules/Tomcat10.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/Tomcat10.php diff --git a/modules/Tomcat10.php b/modules/Tomcat10.php new file mode 100644 index 0000000..5cd088a --- /dev/null +++ b/modules/Tomcat10.php @@ -0,0 +1,15 @@ +patch->setBranch('10'); + } + function check() : bool { + if ($this->fetch('https://tomcat.apache.org/download-10.cgi')) + return $this->parse('/id="([\d\.]+)"/'); + return false; + } +} + +?>