Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
913ee32c
Commit
913ee32c
authored
Jan 04, 2019
by
Carsten Rose
Browse files
Fixes #7600: Path to sendEmail has changed and is updated now. Add clearstatcache().
parent
86544fce
Pipeline
#1281
passed with stage
in 1 minute and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/report/SendMail.php
View file @
913ee32c
...
...
@@ -229,10 +229,14 @@ class SendMail {
if
(
$rc
!=
0
)
{
// After first installation of QFQ extension, the PERL script is not executable: is this the problem here?
clearstatcache
();
$perms
=
fileperms
(
$sendEmail
);
if
(
!
(
$perms
&
0x0040
))
{
chmod
(
$sendEmail
,
0755
);
clearstatcache
();
if
(
!
is_file
(
$sendEmail
)
||
is_readable
(
$sendEmail
)){
throw
new
UserFormException
(
json_encode
([
ERROR_MESSAGE_TO_USER
=>
"Command 'sendEmail' not found."
,
ERROR_MESSAGE_SUPPORT
=>
$sendEmail
]),
ERROR_SENDMAIL
);
...
...
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