Upgrade PHP files

This commit is contained in:
Fernando Ontiveros
2025-03-28 13:16:06 +00:00
parent 7f3ee186de
commit 039ade9083
83 changed files with 96 additions and 745 deletions

View File

@@ -5708,9 +5708,8 @@ class G
$conf = new Configurations();
$flag = $conf->getConfiguration('AUDIT_LOG', 'log');
$flagAudit = $flag == 'true' ? true : false;
/*----------------------------------********---------------------------------*/
$licensedFeatures = PMLicensedFeatures::getSingleton();
if ($flagAudit && $licensedFeatures->verifyfeature('vtSeHNhT0JnSmo1bTluUVlTYUxUbUFSVStEeXVqc1pEUG5EeXc0MGd2Q3ErYz0=')) {
if ($flagAudit) {
$userUid = 'Unknow User';
$fullName = '-';
if (isset($_SESSION['USER_LOGGED']) && $_SESSION['USER_LOGGED'] != '') {
@@ -5734,7 +5733,6 @@ class G
];
Log::channel('audit:' . $actionToLog)->info($message, Bootstrap::context($context));
}
/*----------------------------------********---------------------------------*/
}
/**

View File

@@ -1010,17 +1010,6 @@ class RBAC
*/
public function VerifyLogin($strUser, $strPass)
{
/*----------------------------------********---------------------------------*/
$licenseManager = PmLicenseManager::getSingleton();
if (in_array(
G::encryptOld($licenseManager->result),
['38afd7ae34bd5e3e6fc170d8b09178a3', 'ba2b45bdc11e2a4a6e86aab2ac693cbb']
)) {
return -7;
}
/*----------------------------------********---------------------------------*/
if (strlen($strPass) === 0) {
return -2;
}