BUG - Notices found in the heartbeat call
- The attribute "workspaces" not defined in the class "serverConfiguration" - Define the missing attribute in the class
This commit is contained in:
@@ -53,6 +53,7 @@ class serverConf {
|
|||||||
var $logins;
|
var $logins;
|
||||||
private $lanDirection;
|
private $lanDirection;
|
||||||
private $lanLanguage;
|
private $lanLanguage;
|
||||||
|
public $workspaces = array();
|
||||||
|
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ function buildData(){
|
|||||||
$licenseDomainWorkspace = null;
|
$licenseDomainWorkspace = null;
|
||||||
$licenseNumber = 0;
|
$licenseNumber = 0;
|
||||||
|
|
||||||
if (file_exists(PATH_PLUGINS . "enterprise" . PATH_SEP . "class.pmLicenseManager.php")) {
|
if (file_exists(PATH_PLUGINS . "enterprise" . PATH_SEP . "class.pmLicenseManager.php") && class_exists('enterprisePlugin')) {
|
||||||
$licenseManager = &pmLicenseManager::getSingleton();
|
$licenseManager = &pmLicenseManager::getSingleton();
|
||||||
|
|
||||||
preg_match("/^license_(.*).dat$/", $licenseManager->file, $matches);
|
preg_match("/^license_(.*).dat$/", $licenseManager->file, $matches);
|
||||||
|
|||||||
Reference in New Issue
Block a user