How to use the license manager plugin

Billing Area

Sorry for the inconvience we're currently re-doing our website. Why not check out our community forums?

How to use the license manager plugin

Due to our Lead developer Beav (Mike) we've done a tut to help you get started. We will only show the basics you need since the code is owned by Blesta and not for public release...

license.php
Must start with the plugin name: eg:

<?php

class BlestaCMSLicense {

And re-declare the class to stop conflicting:

            require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . "license_manager.php";
            $this->LicenseManager = new BlestaCMSLicenseManager($path_to_phpseclib, $signature_mode, $signatures, $install_path);

license_manager.php
Must start with something like:

final class BlestaCMSLicenseManager
{

Please rate this article to help us improve our Knowledge Base.

1 0

You are not logged in