I solved Cryptographic Issues
This commit is contained in:
@@ -104,11 +104,11 @@ class Upgrade
|
||||
$archiveMD5 = $checksum;
|
||||
if (strcasecmp($archiveMD5, $installedMD5) != 0) {
|
||||
$changedFiles[] = $filename;
|
||||
if (!is_dir(dirname("$backupDir/$filename"))) {
|
||||
mkdir(dirname("$backupDir/$filename"), 0777, true);
|
||||
if (!is_dir(dirname($backupDir.'/'.$filename))) {
|
||||
mkdir(dirname($backupDir.'/'.$filename), 0777, true);
|
||||
}
|
||||
if (file_exists($installedFile) && is_file($installedFile)) {
|
||||
copy($installedFile, "$backupDir/$filename");
|
||||
copy($installedFile, $backupDir.'/'.$filename);
|
||||
}
|
||||
if (!is_dir(dirname($installedFile))) {
|
||||
mkdir(dirname($installedFile), 0777, true);
|
||||
|
||||
@@ -196,7 +196,7 @@ class Event extends BaseEvent
|
||||
$oEvent->setTriUid( $oTrigger->getTriUid() );
|
||||
|
||||
$parameters = new StdClass();
|
||||
$parameters->hash = md5( $oTrigger->getTriWebbot() );
|
||||
$parameters->hash = G::encryptOld( $oTrigger->getTriWebbot() );
|
||||
|
||||
if (isset( $aData['EVN_ACTION_PARAMETERS']->SUBJECT )) {
|
||||
$parameters->SUBJECT = $aData['EVN_ACTION_PARAMETERS']->SUBJECT;
|
||||
@@ -327,7 +327,7 @@ class Event extends BaseEvent
|
||||
$aTrigger['TRI_WEBBOT'] = $sTrigger;
|
||||
$oTrigger->update( $aTrigger );
|
||||
$oParameters = new StdClass();
|
||||
$oParameters->hash = md5( $sTrigger );
|
||||
$oParameters->hash = G::encryptOld( $sTrigger );
|
||||
$oParameters->SUBJECT = $aData['EVN_ACTION_PARAMETERS']['SUBJECT'];
|
||||
$oParameters->TO = $aData['EVN_ACTION_PARAMETERS']['TO'];
|
||||
$oParameters->CC = $aData['EVN_ACTION_PARAMETERS']['CC'];
|
||||
|
||||
@@ -150,7 +150,7 @@ class FieldCondition extends BaseFieldCondition
|
||||
|
||||
if (sizeof( $aRows ) != 0) {
|
||||
foreach ($aRows as $aRow) {
|
||||
$hashCond = md5( $aRow['FCD_UID'] );
|
||||
$hashCond = G::encryptOld( $aRow['FCD_UID'] );
|
||||
$sCondition = $this->parseCondition( $aRow['FCD_CONDITION'] );
|
||||
$sCondition = addslashes( $sCondition );
|
||||
|
||||
|
||||
@@ -638,7 +638,7 @@ class Translation extends BaseTranslation
|
||||
include PATH_TRUNK .'vendor/colosa/MichelangeloFE/' . 'labels.php';
|
||||
|
||||
foreach ($labels as $key => $row) {
|
||||
$this->addTranslation ('LABEL', 'ID_MAFE_'.MD5($row), $lang, $row);
|
||||
$this->addTranslation ('LABEL', 'ID_MAFE_'.G::encryptOld($row), $lang, $row);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user