Add Dia
This commit is contained in:
parent
422f003273
commit
e58746f551
1 changed files with 14 additions and 0 deletions
14
modules/Dia.php
Normal file
14
modules/Dia.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Dia extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Dia Authors', 'Dia', 'http://dia-installer.de/download/index.html');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('http://dia-installer.de/download/index.html'))
|
||||
return $this->parse('/<h3>Dia ([\d\.]+)<\/h3>/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue