This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace JVZApprovalPlugin; | |
| use stdClass; | |
| use WP_Error; | |
| DEFINE('theme_update_api', 'http://www.licenseengine.com/updates'); | |
| class themeUpdater |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Created by LicenseEngine.com | |
| * User: Russ | |
| * Date: 9/25/15 | |
| * Time: 8:28 AM | |
| */ | |
| class AdminInit | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AdminInit | |
| { | |
| function adminInit() | |
| { | |
| if(isset($_POST) AND array_key_exists('license_key', $_POST)!='') | |
| { | |
| $url | |
| = 'http://www.licenseengine.com/licenses/a/?action=get_product&item_name=make-contest-1&license='.$_POST['license_key'].'&domain='.$_SERVER['SERVER_NAME']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $url = 'http://www.licenseengine.com/api/v1/retrieve/product_id/[email protected]'; | |
| $username = 'YOUR_LICENSEENGINE_USERNAME'; | |
| $password = 'YOUR_LICENSEENGINE_PASSWORD'; | |
| $ch = curl_init(); | |
| curl_setopt($ch,CURLOPT_URL,$url); | |
| curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); | |
| curl_setopt($ch,CURLOPT_USERPWD,"$username:$password"); | |
| curl_setopt($ch,CURLOPT_HTTPAUTH,CURLAUTH_BASIC); | |
| $output = curl_exec($ch); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if(isset($_POST) AND array_key_exists('license_key', $_POST)!='') | |
| { | |
| $url = 'http://www.licenseengine.com/licenses/a/?action=activate_license&item_name=prime-notify&product_id=YOUR_PRODUCT_ID&license='.$_POST["license_key"]; | |
| $json = file_get_contents($url); | |
| $obj = json_decode($json); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function register_settings() | |
| { | |
| register_setting('Pixel_Redirect_Single_17','Pixel_Redirect_Single','Pixel_Redirect_plugin_maintenance'); | |
| } | |
| function Pixel_Redirect_plugin_maintenance($options) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action('admin_init','register_settings'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function register_settings() | |
| { | |
| register_setting('test_software_39','test_software_39',array($this,'plugin_maintenance')); | |
| } | |
| function plugin_maintenance_test_software_39($options) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require_once(dirname(__FILE__).'/test_software_39_updater.php'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if(isset($_GET['debug']) AND $_GET['debug']==1) | |
| { | |
| set_site_transient('update_plugins',null); | |
| ini_set('display_errors','On'); | |
| error_reporting(E_ALL); | |
| } |