File manager - Edit - /home/aresglob/public_html/wp/wp-includes/images/smilies/license.php.tar
Back
home/aresglob/public_html/wp/wp-content/plugins/cookieadmin-pro/includes/license.php 0000644 00000010463 15103773075 0025036 0 ustar 00 <?php /* * CookieAdmin Pro * https://cookieadmin.net * (c) Softaculous Team */ namespace CookieAdminPro; if(!defined('ABSPATH')){ die('Hacking Attempt!'); } class License{ static function cookieadmin_pro_license(){ global $lic_resp, $cookieadmin_lang, $cookieadmin_error, $cookieadmin_msg; if(empty($_POST['cookieadmin_pro_license_nonce']) || !wp_verify_nonce($_POST['cookieadmin_pro_license_nonce'], 'cookieadmin_pro_license')){ $cookieadmin_error = __('Security Check Failed', 'cookieadmin-pro'); return; } $license = !empty($_POST['cookieadmin_pro_license']) ? sanitize_key(wp_unslash($_POST['cookieadmin_pro_license'])) : ''; if(empty($license)){ $cookieadmin_error = __('The license key was not submitted', 'cookieadmin-pro'); return; } cookieadmin_pro_load_license($license); if(!is_array($lic_resp)){ $cookieadmin_error = __('The response was malformed<br>'.var_export($lic_resp, true), 'cookieadmin-pro'); return; } $json = json_decode($lic_resp['body'], true); if(empty($json['license'])){ $cookieadmin_error = __('The license key is invalid', 'cookieadmin-pro'); return; } $cookieadmin_msg = __('Successfully updated the license key', 'cookieadmin-pro'); } static function cookieadmin_show_license(){ global $cookieadmin; if(isset($_REQUEST['save_cookieadmin_pro_license'])){ \CookieAdminPro\License::cookieadmin_pro_license(); } ?> <?php \CookieAdmin\Admin::header_theme(__('License', 'cookieadmin-pro')); ?> <div class="cookieadmin-pro-license-content wrap" > <div class="cookieadmin-pro-tab-group" style=" width:100% ;background:white; padding:20px;"> <table class="wp-list-table fixed striped users cookieadmin-pro-license-table" cellspacing="1" border="0" width="100%" cellpadding="10" align="center"> <tbody> <tr> <th align="left" width="25%"><?php esc_html_e('CookieAdmin Version', 'cookieadmin-pro'); ?></th> <td><?php echo COOKIEADMIN_PRO_VERSION.' ('.esc_html__('Pro Version', 'cookieadmin-pro').')'; ?> </td> </tr> <tr> <th align="left" valign="top"><?php esc_html_e('CookieAdmin License', 'cookieadmin-pro'); ?></th> <td align="left"> <form method="post" action=""> <?php echo (defined('COOKIEADMIN_PREMIUM') && empty($cookieadmin['license']['license']) ? '<span style="color:red">'.esc_html__('Unlicensed', 'cookieadmin-pro').'</span> ' : '')?> <input type="hidden" name="cookieadmin_pro_license_nonce" value="<?php echo wp_create_nonce('cookieadmin_pro_license');?>"/> <input type="text" name="cookieadmin_pro_license" value="<?php echo (empty($cookieadmin['license']['license']) ? '': esc_html($cookieadmin['license']['license']))?>" size="30" placeholder="e.g. COOKA-11111-22222-33333-44444" style="width:300px;"> <input name="save_cookieadmin_pro_license" class="cookieadmin-btn cookieadmin-btn-primary dosmtp-sumbit-licence" value="Update License" type="submit"> </form> <?php if(!empty($cookieadmin['license']['license'])){ $expires = $cookieadmin['license']['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '<div style="margin-top:10px;">'.esc_html__('License Status', 'cookieadmin-pro').' : '.(empty($cookieadmin['license']['status_txt']) ? 'N.A.' : wp_kses_post($cookieadmin['license']['status_txt'])).' '.($cookieadmin['license']['expires'] <= date('Ymd') ? esc_html__('License Expires', 'cookieadmin-pro').' : <span style="color:red;">'.esc_attr($expires).'</span>' : (empty($cookieadmin['license']['has_plid']) ? esc_html__('License Expires', 'cookieadmin-pro').' : '.esc_html($expires) : '')).' </div>'; }?> </td> </tr> <tr> <th align="left">URL</th> <td><?php echo esc_url(get_site_url()); ?></td> </tr> <tr> <th align="left">Path</th> <td><?php echo ABSPATH; ?></td> </tr> <tr> <th align="left"><?php esc_html_e('Server\'s IP Address', 'cookieadmin-pro') ?></th> <td><?php echo esc_attr($_SERVER['SERVER_ADDR']); ?></td> </tr> </tbody> </table> </div> </div> <?php \CookieAdmin\Admin::footer_theme(); } } home/aresglob/public_html/wp/wp-content/plugins/pagelayer-pro/main/license.php 0000644 00000013526 15104432755 0023644 0 ustar 00 <?php ////////////////////////////////////////////////////////////// //=========================================================== // license.php //=========================================================== // PAGELAYER // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Pulkit Gupta // Date: 23rd Jan 2017 // Time: 23:00 hrs // Site: http://pagelayer.com/wordpress (PAGELAYER) // ---------------------------------------------------------- // Please Read the Terms of use at http://pagelayer.com/tos // ---------------------------------------------------------- //=========================================================== // (c)Pagelayer Team //=========================================================== ////////////////////////////////////////////////////////////// // Are we being accessed directly ? if(!defined('PAGELAYER_VERSION')) { exit('Hacking Attempt !'); } include_once(PAGELAYER_DIR.'/main/settings.php'); // The License Page function pagelayer_license(){ global $pl_error, $lic_resp; if(isset($_REQUEST['save_pl_license'])){ check_admin_referer('pagelayer-options'); } // Is there a license key ? if(isset($_POST['save_pl_license'])){ $license = pagelayer_optpost('pagelayer_license'); // Check if its a valid license if(empty($license)){ $pl_error['lic_invalid'] = __('The license key was not submitted', 'pagelayer'); return pagelayer_license_T(); } pagelayer_pro_load_license($license); if(is_array($lic_resp)){ $json = json_decode($lic_resp['body'], true); //print_r($json); }else{ $pl_error['resp_invalid'] = __('The response was malformed<br>'.var_export($lic_resp, true), 'pagelayer'); return pagelayer_license_T(); } // Save the License if(empty($json['license'])){ $pl_error['lic_invalid'] = __('The license key is invalid', 'pagelayer'); return pagelayer_license_T(); }else{ // Mark as saved $GLOBALS['pl_saved'] = true; } } pagelayer_license_T(); } // The License Page - THEME function pagelayer_license_T(){ global $pagelayer, $pl_error; pagelayer_page_header('Pagelayer License'); // Saved ? if(!empty($GLOBALS['pl_saved'])){ echo '<div class="notice notice-success"><p>'. __('The settings were saved successfully', 'pagelayer'). '</p></div><br />'; } if(date('Ymd') <= 20200331 && !defined('PAGELAYER_PREMIUM')){ echo '<div class="updated"><p><span style="font-size: 14px"><b>Promotional Offer</b></span> : If you buy <a href="'.PAGELAYER_PRO_PRICE_URL.'"><b>Pagelayer Pro</b></a> before <b>31st March, 2020</b> then you will get an additional year free and your license will expire on <b>31st March, 2022</b></p></div><br />.'; } // Any errors ? if(!empty($pl_error)){ pagelayer_report_error($pl_error);echo '<br />'; } ?> <div class="postbox"> <button class="handlediv button-link" aria-expanded="true" type="button"> <span class="screen-reader-text"><?php _e('Toggle panel: System Information');?></span> <span class="toggle-indicator" aria-hidden="true"></span> </button> <h2 class="hndle ui-sortable-handle"> <span><?php echo __('System Information', 'pagelayer'); ?></span> </h2> <div class="inside"> <form action="" method="post" enctype="multipart/form-data"> <?php wp_nonce_field('pagelayer-options'); ?> <table class="wp-list-table fixed striped users" cellspacing="1" border="0" width="95%" cellpadding="10" align="center"> <?php echo ' <tr> <th align="left" width="25%">'.__('Pagelayer Version', 'pagelayer').'</th> <td>'.PAGELAYER_VERSION.(defined('PAGELAYER_PREMIUM') ? ' (PRO Version)' : '').'</td> </tr>'; echo ' <tr> <th align="left" valign="top">'.__('Pagelayer License', 'pagelayer').'</th> <td align="left"> '.(defined('PAGELAYER_PREMIUM') && empty($pagelayer->license) ? '<span style="color:red">Unlicensed</span> ' : '').' <input type="text" name="pagelayer_license" value="'.(empty($pagelayer->license) ? '' : $pagelayer->license['license']).'" size="30" placeholder="e.g. PAGEL-11111-22222-33333-44444" style="width:300px;" /> <input name="save_pl_license" class="button button-primary" value="Update License" type="submit" />'; if(!empty($pagelayer->license)){ $expires = $pagelayer->license['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '<div style="margin-top:10px;">License Status : '.(empty($pagelayer->license['status_txt']) ? 'N.A.' : $pagelayer->license['status_txt']).' '.($pagelayer->license['expires'] <= date('Ymd') ? __('License Expires : ', 'pagelayer-pro') .'<span style="color:red">'.$expires.'</span>' : (empty($pagelayer->license['has_plid']) ? __('License Expires : ', 'pagelayer-pro') . $expires : '')).' </div>'; } echo '</td> </tr>'; echo '<tr> <th align="left">'.__('URL', 'pagelayer').'</th> <td>'.get_site_url().'</td> </tr> <tr> <th align="left">'.__('Path', 'pagelayer').'</th> <td>'.ABSPATH.'</td> </tr> <tr> <th align="left">'.__('Server\'s IP Address', 'pagelayer').'</th> <td>'.$_SERVER['SERVER_ADDR'].'</td> </tr> <tr> <th align="left">'.__('wp-config.php is writable', 'pagelayer').'</th> <td>'.(is_writable(ABSPATH.'/wp-config.php') ? '<span style="color:red">Yes</span>' : '<span style="color:green">No</span>').'</td> </tr>'; if(file_exists(ABSPATH.'/.htaccess')){ echo ' <tr> <th align="left">'.__('.htaccess is writable', 'pagelayer').'</th> <td>'.(is_writable(ABSPATH.'/.htaccess') ? '<span style="color:red">Yes</span>' : '<span style="color:green">No</span>').'</td> </tr>'; } ?> </table> </form> </div> </div> <?php pagelayer_page_footer(); } home/aresglob/public_html/wp/wp-content/plugins/gosmtp-pro/main/license.php 0000644 00000010055 15104653307 0023174 0 ustar 00 <?php /* * GoSMTP * https://gosmtp.net * (c) Softaculous Team */ if(!defined('ABSPATH')){ die('Hacking Attempt!'); } include_once(GOSMTP_DIR.'/main/settings.php'); function gosmtp_license(){ global $lic_resp; if(!wp_verify_nonce($_POST['gosmtp_license_nonce'], 'gosmtp_license')){ gosmtp_notify( __('Security Check Failed'), 'error'); return; } $license = sanitize_key($_POST['gosmtp_license']); if(empty($license)){ gosmtp_notify(__('The license key was not submitted'), 'error'); return; } gosmtp_pro_load_license($license); if(!is_array($lic_resp)){ gosmtp_notify(__('The response was malformed<br>'.var_export($lic_resp, true)), 'error'); return; } $json = json_decode($lic_resp['body'], true); if(empty($json['license'])){ gosmtp_notify(__('The license key is invalid'), 'error'); return; } gosmtp_notify(__('Successfully updated the license key')); } function gosmtp_notify($message, $type = 'updated', $dismissible = true){ $is_dismissible = ''; if(!empty($dismissible)){ $is_dismissible = 'is-dismissible'; } if(!empty($message)){ echo '<div class="'.$type.' '.$dismissible.' notice"> <p>'.$message.'</p> </div>'; } } if(isset($_REQUEST['save_gosmtp_license'])){ gosmtp_license(); } ?> <div class="gosmtp-license-content wrap" > <?php gosmtp_page_header('GOSMTP License'); ?> <div class="gosmtp-tab-group" style=" width:100% ;background:white; padding:50px; box-sizing:border-box;border:1px solid #c3c4c7;"> <h3><?php _e('System Information'); ?></h3> <table class="wp-list-table fixed striped users gosmtp-license-table" cellspacing="1" border="0" width="100%" cellpadding="10" align="center"> <tbody> <tr> <th align="left" width="25%"><?php esc_html_e('GOSMTP Version', 'gosmtp'); ?></th> <td><?php echo GOSMTP_PRO_VERSION.' (Pro Version)'; ?> </td> </tr> <tr> <th align="left" valign="top"><?php esc_html_e('GOSMTP License', 'gosmtp'); ?></th> <td align="left"> <form method="post" action=""> <?php echo (defined('GOSMTP_PREMIUM') && empty($gosmtp->license['license']) ? '<span style="color:red">Unlicensed</span> ' : '')?> <input type="hidden" name="gosmtp_license_nonce" value="<?php echo wp_create_nonce('gosmtp_license');?>"/> <input type="text" name="gosmtp_license" value="<?php echo (empty($gosmtp->license['license']) ? '': $gosmtp->license['license'])?>" size="30" placeholder="e.g. GSMTP-11111-22222-33333-44444" style="width:300px;"> <input name="save_gosmtp_license" class="button button-primary dosmtp-sumbit-licence" value="Update License" type="submit"> </form> <?php if(!empty($gosmtp->license['license'])){ $expires = $gosmtp->license['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '<div style="margin-top:10px;">License Status : '.(empty($gosmtp->license['status_txt']) ? 'N.A.' : wp_kses_post($gosmtp->license['status_txt'])).' '.($gosmtp->license['expires'] <= date('Ymd') ? 'License Expires : <span style="color:var(--red)">'.esc_attr($expires).'</span>' : (empty($gosmtp->license['has_plid']) ? 'License Expires : '.esc_html($expires) : '')).' </div>'; }?> </td> </tr> <tr> <th align="left">URL</th> <td><?php echo get_site_url(); ?></td> </tr> <tr> <th align="left">Path</th> <td><?php echo ABSPATH; ?></td> </tr> <tr> <th align="left"><?php _e('Server\'s IP Address') ?></th> <td><?php echo esc_url($_SERVER['SERVER_ADDR']); ?></td> </tr> <tr> <th align="left">.htaccess <?php _e('is writable') ?></th> <td><?php echo (is_writable(ABSPATH.'/.htaccess') ? '<span style="color:var(--gosmtp-red)">Yes</span>' : '<span style="color:green">No</span>');?></td> </tr> </tbody> </table> </div> <?php gosmtp_page_footer(); ?> </div> home/aresglob/public_html/wp/wp-content/plugins/backuply/main/license.php 0000644 00000014543 15105156422 0022702 0 ustar 00 <?php if(!defined('ABSPATH')) { die('HACKING ATTEMPT!'); } include_once BACKUPLY_DIR . '/main/settings.php'; // Handles submission of license function backuply_license(){ global $backuply, $lic_resp; check_admin_referer('backuply_license_form', 'backuply_license_nonce'); $license = sanitize_key(backuply_optpost('backuply_license')); if(empty($license)) { add_settings_error('backuply-notice', esc_attr( 'settings_updated' ), esc_html__('The license key was not submitted', 'backuply'), 'error'); return; } if(!function_exists('backuply_load_license')){ $lic_resp = wp_remote_get(BACKUPLY_API.'/license.php?license='.$license.'&url='.rawurlencode(esc_url_raw(site_url())), array('timeout' => 30, 'sslverify' => false)); }else{ backuply_load_license($license); } if(is_array($lic_resp)){ $json = json_decode($lic_resp['body'], true); }else{ add_settings_error('backuply-notice', esc_attr( 'settings_updated' ), esc_html__('The response was malformed', 'backuply').'<br>'.var_export($lic_resp, true), 'error'); return; } // Save the License if(empty($json['license'])){ add_settings_error('backuply-notice', esc_attr( 'settings_updated' ), esc_html__('The license key is invalid', 'backuply'), 'error'); return; } if(!function_exists('backuply_load_license')){ if(get_option('backuply_license')) { update_option('backuply_license', $json); } else{ add_option('backuply_license', $json); } $backuply['license'] = $json; } } function backuply_license_page() { global $backuply; if(!empty($_POST['save_backuply_license'])) { backuply_license(); } // Update Cloud key and URL if(!empty($_POST['save_backuply_cloud_key'])){ backuply_cloud_update(); } backuply_page_header('License'); settings_errors('backuply-notice'); ?> <table class="wp-list-table fixed striped users backuply-license-table" cellspacing="1" border="0" width="95%" cellpadding="10" align="center"> <tbody> <tr> <th align="left" width="25%">Backuply Version</th> <td><?php echo BACKUPLY_VERSION.(defined('BACKUPLY_PRO') ? ' (Pro Version)' : ''); ?> </td> </tr> <tr> <th align="left" valign="top">Backuply License</th> <td align="left"> <form method="post"> <span style="color:red"><?php echo (defined('BACKUPLY_PRO') && empty($backuply['license']) ? '<span style="color:red">Unlicensed</span> ' : '')?></span> <input type="text" name="backuply_license" value="<?php echo (empty($backuply['license']) || empty($backuply['license']['license']) ? '' : esc_html($backuply['license']['license']))?>" size="30" placeholder="e.g. BAKLY-11111-22222-33333-44444" style="width:300px;"> <?php wp_nonce_field( 'backuply_license_form','backuply_license_nonce' ); ?> <input name="save_backuply_license" class="button button-primary" value="Update License" type="submit"> </form> <?php if(!empty($backuply['license']) && !empty($backuply['license']['expires'])){ $expires = $backuply['license']['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '<div style="margin-top:10px;">License Status : '.(empty($backuply['license']['status_txt']) ? 'N.A.' : wp_kses_post($backuply['license']['status_txt'])).' '; if(empty($backuply['license']['has_plid']) || $backuply['license']['expires'] <= date('Ymd')){ echo 'License Expires : '.($backuply['license']['expires'] <= date('Ymd') ? '<span style="color:red">'.esc_html($expires).'</span>' : esc_html($expires)); } echo '</div>'; } if(!empty($backuply['license']['quota']) && !empty($backuply['license']['quota'])){ echo '<div style="margin-top:3px;">Cloud Storage: '.size_format(esc_html($backuply['license']['quota'])).'</div>'; } ?> </td> </tr> <tr> <th align="left" valign="top">Backuply Cloud</th> <?php echo '<td align="left"> <div style="display:flex; flex-direction:column;"> <form method="post"> <label> <input type="text" name="bcloud_key" value="'.(!empty($backuply['bcloud_key']) ? esc_attr($backuply['bcloud_key']) : '').'" size="30" placeholder="Your Backuply Cloud Key" style="width:300px;"> '.wp_nonce_field('backuply_cloud_form', 'backuply_cloud_nonce').' <input name="save_backuply_cloud_key" class="button button-primary" value="Update Cloud Key" type="submit"> <p class="description">'.__('Backuply Cloud Key works in combination with Backuply License which you get when you buy a plan', 'backuply').'<br>'.__('The key is generated automatically, when you add Backuply Cloud location to a new site, for more info read this', 'backuply').' <a href="https://backuply.com/docs/backuply-cloud/how-to-get-backuply-cloud-key/#lost-backuply-clou-key" target="_blank">docs</a></p> </label> </form> <label> <input type="text" value="'.site_url().'" size="30" placeholder="Backuply Cloud Linked Site URL" style="width:300px;" readonly> <p class="description">Site URL</p> </label> </div> </td>'; ?> </tr> <tr> <th align="left">URL</th> <td><?php echo esc_url(get_site_url()); ?></td> </tr> <tr> <th align="left">Path</th> <td><?php echo ABSPATH; ?></td> </tr> <tr> <th align="left">Server's IP Address</th> <td><?php echo !empty($_SERVER['SERVER_ADDR']) ? wp_kses_post(wp_unslash($_SERVER['SERVER_ADDR'])) : '-'; ?></td> </tr> <tr> <th align="left">.htaccess is writable</th> <td><?php echo (is_writable(ABSPATH.'/.htaccess') ? '<span style="color:red">Yes</span>' : '<span style="color:green">No</span>');?></td> </tr> </tbody> </table> </td> <td> <?php backuply_promotion_tmpl(); ?> </td> </tr> </table> </div> </div> </div> </div> <?php } function backuply_cloud_update(){ global $backuply; if(!wp_verify_nonce($_POST['backuply_cloud_nonce'], 'backuply_cloud_form')){ echo 'Security Check Failed'; return false; } $backuply['bcloud_key'] = sanitize_text_field($_POST['bcloud_key']); update_option('bcloud_key', $backuply['bcloud_key']); } home/aresglob/public_html/wp/wp-content/plugins/speedycache-pro/main/license.php 0000644 00000010167 15107735170 0024146 0 ustar 00 <?php if(!defined('ABSPATH')){ die('HACKING ATTEMPT!'); } include_once SPEEDYCACHE_DIR . '/main/settings.php'; function speedycache_license_page(){ global $speedycache; if(isset($_REQUEST['save_speedycache_license'])){ speedycache_license(); } speedycache_add_javascript(); settings_errors('speedycache-notice'); ?> <div class="speedycache-setting-content"> <div class="speedycache-tab-group" style="width:78%"> <table class="wp-list-table fixed striped users speedycache-license-table" cellspacing="1" border="0" width="78%" cellpadding="10" align="center"> <tbody> <tr> <th align="left" width="25%"><?php esc_html_e('SpeedyCache Version', 'speedycache'); ?></th> <td><?php echo SPEEDYCACHE_PRO_VERSION.(defined('SPEEDYCACHE_PRO') ? ' (Pro Version)' : ''); ?> </td> </tr> <tr> <th align="left" valign="top"><?php esc_html_e('SpeedyCache License', 'speedycache'); ?></th> <td align="left"> <form method="post" action=""> <span style="color:var(--speedycache-red)"> <?php echo (defined('SPEEDYCACHE_PRO') && empty($speedycache->license) ? '<span style="color:var(--speedycache-red)">Unlicensed</span> ' : '')?> </span> <input type="hidden" name="speedycache_license_nonce" value="<?php echo wp_create_nonce('speedycache_license');?>"/> <input type="text" name="speedycache_license" value="<?php echo (empty($speedycache->license) ? empty($_POST['speedycache_license']) ? '' : speedycache_optpost('speedycache_license') : $speedycache->license['license'])?>" size="30" placeholder="e.g. SPDFY-11111-22222-33333-44444" style="width:300px;"> <input name="save_speedycache_license" class="speedycache-btn speedycache-btn-primary" value="Update License" type="submit"> </form> <?php if(!empty($speedycache->license)){ $expires = $speedycache->license['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '<div style="margin-top:10px;">License Status : '.(empty($speedycache->license['status_txt']) ? 'N.A.' : wp_kses_post($speedycache->license['status_txt'])).' '.($speedycache->license['expires'] <= date('Ymd') ? 'License Expires : <span style="color:var(--speedycache-red)">'.esc_attr($expires).'</span>' : (empty($speedycache->license['has_plid']) ? 'License Expires : ' . esc_html($expires) : '')).' </div>'; }?> </td> </tr> <tr> <th align="left">URL</th> <td><?php echo get_site_url(); ?></td> </tr> <tr> <th align="left">Path</th> <td><?php echo ABSPATH; ?></td> </tr> <tr> <th align="left">Server's IP Address</th> <td><?php echo esc_html($_SERVER['SERVER_ADDR']); ?></td> </tr> <tr> <th align="left">.htaccess is writable</th> <td><?php echo (is_writable(ABSPATH.'/.htaccess') ? '<span style="color:var(--speedycache-red)">Yes</span>' : '<span style="color:green">No</span>');?></td> </tr> </tbody> </table> </div> <?php speedycache_promotion_tmpl(); ?> </div> <?php speedycache_page_footer(true); } function speedycache_license(){ global $speedycache, $lic_resp; if(!wp_verify_nonce($_POST['speedycache_license_nonce'], 'speedycache_license')){ speedycache_notify(array(__('Security Check Failed', 'speedycache'),'error')); return; } $license = sanitize_key($_POST['speedycache_license']); if(empty($license)){ speedycache_notify(array(__('The license key was not submitted', 'speedycache'),'error')); return; } speedycache_pro_load_license($license); if(!is_array($lic_resp)){ speedycache_notify(array(__('The response was malformed<br>'.var_export($lic_resp, true), 'speedycache'), 'error')); return; } $json = json_decode($lic_resp['body'], true); // Save the License if(empty($json['license'
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings