/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/revslider/admin/includes
NameSizeModeActions
shortcode_generator/-0755rm
addons.class.php73290644editdlrm
debug.php28740644editdlrm
export-html.class.php317120644editdlrm
export.class.php289730644editdlrm
folder.class.php42670644editdlrm
functions-admin.class.php646980644editdlrm
help.class.php5981740644editdlrm
import.class.php762260644editdlrm
index.php270644editdlrm
license.class.php20560644editdlrm
loadbalancer.class.php32020644editdlrm
newsletter.class.php17310644editdlrm
plugin-update.class.php3650570644editdlrm
template.class.php314500644editdlrm
tooltips.class.php325200644editdlrm
widget.class.php47320644editdlrm
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/revslider/admin/includes/license.class.php (2056B)
* @link https://www.themepunch.com/ * @copyright 2020 ThemePunch * @since 6.2.0 */ if(!defined('ABSPATH')) exit(); class RevSliderLicense extends RevSliderFunctions { /** * Activate the Plugin through the ThemePunch Servers * @before 6.0.0: RevSliderOperations::checkPurchaseVerification(); * @before 6.2.0: RevSliderAdmin::activate_plugin(); **/ public function activate_plugin($code){ $rslb = RevSliderGlobals::instance()->get('RevSliderLoadBalancer'); $data = array('code' => urlencode($code), 'version' => urlencode(RS_REVISION), 'product' => urlencode(RS_PLUGIN_SLUG)); $response = $rslb->call_url('activate.php', $data, 'updates'); $version_info = wp_remote_retrieve_body($response); if(is_wp_error($version_info)) return false; if($version_info == 'valid'){ update_option('revslider-valid', 'true'); update_option('revslider-code', $code); update_option('revslider-trustpilot', 'true'); update_option('revslider-deregister-popup', 'false'); return true; }elseif($version_info == 'exist'){ return 'exist'; }elseif($version_info == 'banned'){ return 'banned'; } return false; } /** * Deactivate the Plugin through the ThemePunch Servers * @before 6.0.0: RevSliderOperations::doPurchaseDeactivation(); * @before 6.2.0: RevSliderAdmin::deactivate_plugin(); **/ public function deactivate_plugin(){ $rslb = RevSliderGlobals::instance()->get('RevSliderLoadBalancer'); $code = get_option('revslider-code', ''); $data = array('code' => urlencode($code), 'product' => urlencode(RS_PLUGIN_SLUG)); $res = $rslb->call_url('deactivate.php', $data, 'updates'); $vi = wp_remote_retrieve_body($res); if(is_wp_error($vi)) return false; if($vi == 'valid'){ update_option('revslider-valid', 'false'); update_option('revslider-code', ''); update_option('revslider-trustpilot', 'false'); update_option('revslider-deregister-popup', 'true'); return true; } return false; } }