Controller_Addon::licenseCheck PHP Method

licenseCheck() public method

Agile Toolkit provides universal way for checking licenses. If you are building commercial product with Agile Toolkit, then you need to use unique identifier for $software. Provide the name of your public key certificate and also supply md5sum of that certificate as last parameter, to make sure developer wouldn't simply substitute public key with another one. Public key must be bundled along with the release of your software This method will return true / false. If you have multiple public keys (expired ones), you can call this method several times. The information about the private key specifically issued to the user will be stored in configuration file.
public licenseCheck ( $type, $software = 'atk', $pubkey = null, $pubkey_md5 = null )
    public function licenseCheck($type, $software = 'atk', $pubkey = null, $pubkey_md5 = null)
    {
        // TODO: move stuff here from App_Web -> licenseCheck
        //
        // TODO: we might need to hardcode hey signature or MD
    }