| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/AIWEBSTATION/wp-content/plugins/wp-file-manager-pro/classes/ |
Upload File : |
<?php
/**
* Package: WP File Manager Pro
* Update Check Class
* Class: wp_file_manager_pro_updates
*/
if(!class_exists('wp_file_manager_pro_updates')) {
class wp_file_manager_pro_updates {
/**
* Server
*/
static $server = 'https://filemanagerpro.io/plugin_updates/wp_file_manager';
/**
* Install
*/
public function update($filePath) {
$opt = get_option('wp_file_manager_pro');
$orderID = isset($opt['orderid']) ? $opt['orderid'] : '';
$licencekey = isset($opt['serialkey']) ? $opt['serialkey'] : '';
if(!empty(trim($licencekey)) && !empty(trim($orderID))) {
require FILEMANEGERPROPATH.'plugin-update-checker/plugin-update-checker.php';
Puc_v4_Factory::buildUpdateChecker(
self::$server.'?orderid='.$orderID.'&licencekey='.$licencekey,
$filePath,
'wp-file-manager-pro'
);
}
}
}
}