14 lines
341 B
PHP
14 lines
341 B
PHP
<?php
|
|
|
|
class OpenWrt extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('OpenWrt Developers', 'OpenWrt', 'https://openwrt.org/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://openwrt.org/start'))
|
|
return $this->parse('/<strong>Current Stable Release - OpenWrt ([\d\.]+)<\/strong>/');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|