16 lines
373 B
PHP
16 lines
373 B
PHP
<?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;
|
|
}
|
|
}
|
|
|
|
?>
|