mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
Merge branch 'support/3.0' into develop
# Conflicts: # sources/Core/Email/EmailSwiftMailer.php
This commit is contained in:
@@ -33,6 +33,7 @@ use Twig\TwigFilter;
|
||||
use Twig\TwigFunction;
|
||||
use utils;
|
||||
|
||||
|
||||
/**
|
||||
* Class AppExtension
|
||||
*
|
||||
|
||||
@@ -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. ' +
|
||||
|
||||
@@ -299,7 +299,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 {
|
||||
|
||||
Reference in New Issue
Block a user