To install I did so.
Edit this file: \install\do_install.php
Line 30
Remove all if or only change != For ==
Code:
if (!empty($verification) and& $verification->status != "success") {
echo json_encode(array("success" => false, "message" => $verification->message));
exit();
}
This
Code:
$verification = verify_purchase_code($purchase_code);
if (!empty($verification) and& $verification->status == "success") {
echo json_encode(array("success" => false, "message" => $verification->message));
exit();
}
With this the installation will finish without problems.
Upon entering the site, you will realize that you will still be prompted for purchase code.
To solve this, do the following:
Edit the file /vendor/codeigniter/framework/system/helpers/url_helper.php
Line 70
In:
Code:
function VF_CODE($code) {
$code = urlencode($code);
$website = str_replace("install/", "", @$_SERVER['HTTP_REFERER']);
$url = "http://vtcreators.com/license/verify?purchase_code=" . $code . "&domain=" . $_SERVER['HTTP_HOST'] . "&website=" . $website . "&app=instatool";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
$data = curl_exec($ch);
curl_close($ch);
return json_decode($data);
var_dump ($data);
}
Per:
Code:
function VF_CODE($code) {
$data = array("status"=>"success","message"=>"Sucesso");
return json_decode($data);
}
I did the quick tests here and it worked.
If someone has a better solution, be free to share.