PM-2762
This commit is contained in:
@@ -5354,11 +5354,13 @@ class G
|
||||
$ipClient = G::getIpAddress();
|
||||
|
||||
$licensedFeatures = PMLicensedFeatures::getSingleton();
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if ($sflagAudit && $licensedFeatures->verifyfeature('vtSeHNhT0JnSmo1bTluUVlTYUxUbUFSVStEeXVqc1pEUG5EeXc0MGd2Q3ErYz0=')) {
|
||||
$username = isset($_SESSION['USER_LOGGED']) && $_SESSION['USER_LOGGED'] != '' ? $_SESSION['USER_LOGGED'] : 'Unknow User';
|
||||
$fullname = isset($_SESSION['USR_FULLNAME']) && $_SESSION['USR_FULLNAME'] != '' ? $_SESSION['USR_FULLNAME'] : '-';
|
||||
G::log("|". $workspace ."|". $ipClient ."|". $username . "|" . $fullname ."|" . $actionToLog . "|" . $valueToLog, PATH_DATA, "audit.log");
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,6 +11,7 @@ class ActionsByEmail
|
||||
|
||||
public function saveConfiguration($params)
|
||||
{
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if (\PMLicensedFeatures
|
||||
::getSingleton()
|
||||
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
|
||||
@@ -31,10 +32,12 @@ class ActionsByEmail
|
||||
break;
|
||||
}
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
}
|
||||
|
||||
public function loadConfiguration($params)
|
||||
{
|
||||
/*----------------------------------********---------------------------------*/
|
||||
if ($params['type'] != 'activity'
|
||||
|| !\PMLicensedFeatures
|
||||
::getSingleton()
|
||||
@@ -42,6 +45,7 @@ class ActionsByEmail
|
||||
{
|
||||
return false;
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
require_once 'classes/model/AbeConfiguration.php';
|
||||
|
||||
$criteria = new \Criteria();
|
||||
|
||||
@@ -52,7 +52,7 @@ class System extends Api
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/**t
|
||||
* @return array
|
||||
*
|
||||
* @author Gustavo Cruz <gustavo.cruz@colosa.com>
|
||||
@@ -64,6 +64,7 @@ class System extends Api
|
||||
{
|
||||
try {
|
||||
$enabledFeatures = array();
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$keys = array ('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=');
|
||||
foreach ($keys as $key) {
|
||||
if (\PMLicensedFeatures
|
||||
@@ -72,6 +73,7 @@ class System extends Api
|
||||
$enabledFeatures[] = $key;
|
||||
}
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
return $enabledFeatures;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
|
||||
Reference in New Issue
Block a user