BUG 10594 I added to validation in SSL and added memory limit SOLVED
I added to validation in SSL and added memory limit
This commit is contained in:
@@ -848,6 +848,10 @@ function PMFSendMessage(
|
|||||||
$showMessage = true,
|
$showMessage = true,
|
||||||
$delIndex = 0
|
$delIndex = 0
|
||||||
) {
|
) {
|
||||||
|
ini_set ( "pcre.backtrack_limit", 1000000 );
|
||||||
|
ini_set ( 'memory_limit', '-1' );
|
||||||
|
@set_time_limit ( 100000 );
|
||||||
|
|
||||||
global $oPMScript;
|
global $oPMScript;
|
||||||
|
|
||||||
if (isset( $oPMScript->aFields ) && is_array( $oPMScript->aFields )) {
|
if (isset( $oPMScript->aFields ) && is_array( $oPMScript->aFields )) {
|
||||||
|
|||||||
@@ -770,8 +770,17 @@ class wsBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
$oSpool = new spoolRun();
|
$oSpool = new spoolRun();
|
||||||
$oSpool->setConfig( array ('MESS_ENGINE' => $aSetup['MESS_ENGINE'],'MESS_SERVER' => $aSetup['MESS_SERVER'],'MESS_PORT' => $aSetup['MESS_PORT'],'MESS_ACCOUNT' => $aSetup['MESS_ACCOUNT'],'MESS_PASSWORD' => $aSetup['MESS_PASSWORD'],'SMTPAuth' => $aSetup['MESS_RAUTH']
|
$oSpool->setConfig(
|
||||||
) );
|
array (
|
||||||
|
'MESS_ENGINE' => $aSetup['MESS_ENGINE'],
|
||||||
|
'MESS_SERVER' => $aSetup['MESS_SERVER'],
|
||||||
|
'MESS_PORT' => $aSetup['MESS_PORT'],
|
||||||
|
'MESS_ACCOUNT' => $aSetup['MESS_ACCOUNT'],
|
||||||
|
'MESS_PASSWORD' => $aSetup['MESS_PASSWORD'],
|
||||||
|
'SMTPSecure' => $aSetup['SMTPSecure'],
|
||||||
|
'SMTPAuth' => $aSetup['MESS_RAUTH']
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
$oCase = new Cases();
|
$oCase = new Cases();
|
||||||
$oldFields = $oCase->loadCase( $caseId );
|
$oldFields = $oCase->loadCase( $caseId );
|
||||||
|
|||||||
@@ -517,9 +517,11 @@ class adminProxy extends HttpProxyController
|
|||||||
if (strtolower($_POST["UseSecureCon"]) != "no") {
|
if (strtolower($_POST["UseSecureCon"]) != "no") {
|
||||||
$_POST["SMTPSecure"] = $_POST["UseSecureCon"];
|
$_POST["SMTPSecure"] = $_POST["UseSecureCon"];
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if ($_POST['UseSecureCon'] == 'ssl') {
|
if ($_POST['UseSecureCon'] == 'ssl') {
|
||||||
$_POST['MESS_SERVER'] = 'ssl://'.$_POST['MESS_SERVER'];
|
$_POST['MESS_SERVER'] = 'ssl://'.$_POST['MESS_SERVER'];
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
$resp = $this->sendTestMail();
|
$resp = $this->sendTestMail();
|
||||||
if ($resp->status == '1') {
|
if ($resp->status == '1') {
|
||||||
$this->success=true;
|
$this->success=true;
|
||||||
|
|||||||
Reference in New Issue
Block a user