Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCapture
Commits
e07b2545
Commit
e07b2545
authored
Aug 04, 2021
by
ludovic
Browse files
Update MailCapture.php
ConfigPath added
parent
45706d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/MailCapture/MailCapture.php
View file @
e07b2545
...
...
@@ -179,7 +179,8 @@ class MailCapture
$folder
=
false
,
$attachmentsOutputDir
=
false
,
$addHeaderInMailContent
=
true
,
$folderError
=
false
$folderError
=
false
,
$configPath
=
__DIR__
)
{
if
(
empty
(
$folder
)
||
$folder
==
'false'
)
{
$folder
=
false
;
...
...
@@ -210,7 +211,7 @@ class MailCapture
$Config
=
new
DOMDocument
();
echo
'LOAD '
.
$configFile
.
' FOR CAPTURE'
.
PHP_EOL
;
$Config
->
load
(
__DIR__
.
DIRECTORY_SEPARATOR
.
$configFile
$configPath
.
DIRECTORY_SEPARATOR
.
$configFile
);
parent
::
__construct
(
$Config
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment