Add FileZilla
This commit is contained in:
parent
228ac081de
commit
7a92563ce5
1 changed files with 14 additions and 0 deletions
14
modules/FileZilla.php
Normal file
14
modules/FileZilla.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class FileZilla extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Tim Kosse', 'FileZilla', 'https://filezilla-project.org/download.php?show_all=1');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://filezilla-project.org/download.php?show_all=1'))
|
||||
return $this->parse('/<p>The latest stable version of FileZilla Client is ([\d\.]+)<\/p>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue