Add OpenWrt
This commit is contained in:
parent
a4570a6288
commit
24f6d73ae7
1 changed files with 14 additions and 0 deletions
14
modules/OpenWrt.php
Normal file
14
modules/OpenWrt.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue