mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Merge branch 'support/2.7' into support/3.0
This commit is contained in:
@@ -54,8 +54,8 @@ function ExecuteStep(sStep)
|
||||
}
|
||||
|
||||
function CheckDirectoryConfFilesPermissions(sWikiVersion){
|
||||
$.ajax('permissions-test-folder/permissions-test-subfolder/permissions-test-file',
|
||||
{
|
||||
$.ajax('permissions-test-folder/permissions-test-subfolder/permissions-test-file', {
|
||||
cache: false,
|
||||
statusCode: {
|
||||
200: function() {
|
||||
$('#details').prepend('<div class="message message-warning"><span class="message-title">Security issue:</span> iTop is bundled with directory-level configuration files. You must check that those files will be read by your web server (eg. ' +
|
||||
|
||||
@@ -315,7 +315,8 @@ class EMailLaminas extends Email
|
||||
if ($bForceSynchronous) {
|
||||
return $this->SendSynchronous($aIssues, $oLog);
|
||||
} else {
|
||||
$bConfigASYNC = MetaModel::GetConfig()->Get('email_asynchronous');
|
||||
$oConfig = $this->LoadConfig();
|
||||
$bConfigASYNC = $oConfig->Get('email_asynchronous');
|
||||
if ($bConfigASYNC) {
|
||||
return $this->SendAsynchronous($aIssues, $oLog);
|
||||
} else {
|
||||
|
||||
@@ -273,13 +273,11 @@ class EmailSwiftMailer extends EMail
|
||||
}
|
||||
else
|
||||
{
|
||||
$bConfigASYNC = MetaModel::GetConfig()->Get('email_asynchronous');
|
||||
if ($bConfigASYNC)
|
||||
{
|
||||
$oConfig = $this->LoadConfig();
|
||||
$bConfigASYNC = $oConfig->Get('email_asynchronous');
|
||||
if ($bConfigASYNC) {
|
||||
return $this->SendAsynchronous($aIssues, $oLog);
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
return $this->SendSynchronous($aIssues, $oLog);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user