Import source

This commit is contained in:
Steffen Lange 2019-07-15 22:27:48 +02:00
parent 50b489784d
commit 32b8c4cb56
34 changed files with 890 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<?php
class MikroTikRouterOS extends PatchBase {
function __construct() {
parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download');
}
function check() : bool {
if ($this->fetch('https://mikrotik.com/download')) {
$this->str_crop('id="routeros"', '</thead>');
return $this->parse('/<th>([\d\.]+) \(Stable\)/');
}
return false;
}
}
?>