02-15-2019, 10:58 AM
This is a intresting part in FB inboxer and can be deleted in
url_helper.php
if(file_exists(APPPATH.'config/licence.txt') and& file_exists(APPPATH.'core/licence.txt'))
{
$config_existing_content = file_get_contents(APPPATH.'config/licence.txt');
$config_decoded_content = json_decode($config_existing_content, true);
$purchase_code = $config_decoded_content['purchase_code'];
$base_url = base_url();
$only_domain = get_domain_only($base_url);
$url = "http://xeroneit.net/development/envato_license_activation/purchase_code_check.php?purchase_code={$purchase_code}&domain={$only_domain}&item_name=FBInboxer";
$credentials = curlCall($url);
$decoded_credentials = json_decode($credentials,true);
$content = json_decode($decoded_credentials['content'],true);
if($content['status'] == 'success' || isset($decoded_credentials['error'])) return true;
}
else redirect("home/credential_check", 'Location');
and some other must be done too
url_helper.php
if(file_exists(APPPATH.'config/licence.txt') and& file_exists(APPPATH.'core/licence.txt'))
{
$config_existing_content = file_get_contents(APPPATH.'config/licence.txt');
$config_decoded_content = json_decode($config_existing_content, true);
$purchase_code = $config_decoded_content['purchase_code'];
$base_url = base_url();
$only_domain = get_domain_only($base_url);
$url = "http://xeroneit.net/development/envato_license_activation/purchase_code_check.php?purchase_code={$purchase_code}&domain={$only_domain}&item_name=FBInboxer";
$credentials = curlCall($url);
$decoded_credentials = json_decode($credentials,true);
$content = json_decode($decoded_credentials['content'],true);
if($content['status'] == 'success' || isset($decoded_credentials['error'])) return true;
}
else redirect("home/credential_check", 'Location');
and some other must be done too