HOR-3670
Fixed EnterpriseClass name Moved side effects code to class G helper and called from boot scripts
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
<?php
|
||||
|
||||
if (!defined("PM_VERSION")) {
|
||||
if (file_exists(PATH_METHODS . "login/version-pmos.php")) {
|
||||
include (PATH_METHODS . "login/version-pmos.php");
|
||||
} else {
|
||||
define("PM_VERSION", "2.0.0");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class enterpriseClass extends PMPlugin
|
||||
class EnterpriseClass extends PMPlugin
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
@@ -1985,7 +1985,7 @@ class WorkspaceTools
|
||||
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if ($licensedFeatures->verifyfeature('95OY24wcXpEMzIyRmlNSnF0STNFSHJzMG9wYTJKekpLNmY2ZmRCeGtuZk5oUDloaUNhUGVjTDJBPT0=')) {
|
||||
enterpriseClass::setHashPassword($response);
|
||||
EnterpriseClass::setHashPassword($response);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -142,3 +142,4 @@
|
||||
define('PML_UPLOAD_URL', PML_SERVER . '/syspmLibrary/en/green/services/uploadProcess');
|
||||
define('PML_DOWNLOAD_URL', PML_SERVER . '/syspmLibrary/en/green/services/download');
|
||||
|
||||
G::defineConstants();
|
||||
|
||||
@@ -180,7 +180,7 @@ try {
|
||||
if ($oPluginRegistry->existsTrigger ( PM_LOGIN )) {
|
||||
$oPluginRegistry->executeTriggers ( PM_LOGIN , $loginInfo );
|
||||
}
|
||||
enterpriseClass::enterpriseSystemUpdate($loginInfo);
|
||||
EnterpriseClass::enterpriseSystemUpdate($loginInfo);
|
||||
$_SESSION['USER_LOGGED'] = $uid;
|
||||
$_SESSION['USR_USERNAME'] = $usr;
|
||||
} else {
|
||||
|
||||
@@ -283,6 +283,8 @@ define( 'PML_WSDL_URL', PML_SERVER . '/syspmLibrary/en/green/services/wsdl' );
|
||||
define( 'PML_UPLOAD_URL', PML_SERVER . '/syspmLibrary/en/green/services/uploadProcess' );
|
||||
define( 'PML_DOWNLOAD_URL', PML_SERVER . '/syspmLibrary/en/green/services/download' );
|
||||
|
||||
G::defineConstants();
|
||||
|
||||
$config = Bootstrap::getSystemConfiguration();
|
||||
|
||||
// starting session
|
||||
|
||||
Reference in New Issue
Block a user