PHP:
$license_data = [];
$settings_data = [];
$settings_data2 = [];
$settings_data3 = [];
$settings_data4 = [];
$file_check = (include "license.php");
if (!$file_check) {
header("location: /activate.php");
exit;
}
$domain_name = get_domain($license_data["domain_url"]);
if (!empty($license_data["license_key"]) && !empty($domain_name) && !empty($license_data["purchase_code"])) {
$comp_license_key = sha1($domain_name . $license_data["purchase_code"] . "Droptaxibytokkysparksdev");
if ($comp_license_key != $license_data["license_key"]) {
header("location: /activate.php");
exit;
}
require "settingsdata.php";
require "settingsdata2.php";
require "settingsdata3.php";
require "settingsdata4.php";
require "options.php";
require_once dirname(__DIR__) . "/vendor/autoload.php";
require FILES_FOLDER . "/PHPMailer/src/Exception.php";
require FILES_FOLDER . "/PHPMailer/src/PHPMailer.php";
require FILES_FOLDER . "/PHPMailer/src/SMTP.php";
server\drop-files\lib\common.php & options.php
These two pages are protected by ioncube. I think license checks are done here. but what i was wondering is i thought it was forbidden to encrypt codecanyon contents.