File "MonstaLicense.php"
Full Path: /home/analogde/www/Massage_v3_debug/MASSAGE_TEST/FTP/application/api/licensing/MonstaLicense.php
File size: 361 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
require_once(dirname(__FILE__) . '/../lib/JsonSerializable.php');
abstract class MonstaLicense implements JsonSerializable {
protected $expiryDate;
public function isLicensed() {
if(is_null($this->expiryDate))
return false;
return time() < $this->expiryDate;
}
}