Import source
This commit is contained in:
parent
50b489784d
commit
32b8c4cb56
34 changed files with 890 additions and 0 deletions
16
modules/AdobeFlashPlayer.php
Normal file
16
modules/AdobeFlashPlayer.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
class AdobeFlashPlayer extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Adobe', 'Flash Player', 'https://get.adobe.com/de/flashplayer/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://get.adobe.com/flashplayer/webservices/json/?platform_type=Windows&platform_dist=XP&platform_arch=x86-32&platform_misc=&exclude_version=10&browser_arch=&browser_type=&browser_vers=&browser_dist=&eventname=flashplayerotherversions', true)) {
|
||||
$this->array_extract('flashplayerax');
|
||||
return $this->parse_json('Version');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue