1.content-egg/application/admin/LicConfig.php¶
public function licFormat($value)
{
return true;
}
public function activatingLicense($value)
{
return true;
}
2.content-egg/application/components/LManager.php¶
public static function isNulled()
{
return false;
}
work well
Is working + corect this line of code in file
2.content-egg/application/components/LManager.php¶
/*
public function activatingLicense( $value ) {
return true;
$response = Plugin::apiRequest( array(
'method' => 'POST',
'timeout' => 15,
'httpversion' => '1.0',
'blocking' => true,
'headers' => array(),
'body' => array(
'cmd' => 'activate',
'key' => $value,
'd' => parse_url( site_url(), PHP_URL_HOST ),
'p' => Plugin: product_id,
'v' => Plugin::version()
),
'cookies' => array()
) );
if ( ! $response ) {
return false;
}
$result = json_decode( \wp_remote_retrieve_body( $response ), true );
if ( $result && ! empty( $result['status'] ) && $result['status'] == 'valid' ) {
return true;
} elseif ( $result && ! empty( $result['status'] ) && $result['status'] == 'error' ) {
\add_settings_error( 'license_key', 'license_key', $result['message'] );
return false;
}
return false;
}
*/
And then wraiting any one number and activate BUM!
