Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
06e1392b
Commit
06e1392b
authored
Feb 02, 2018
by
Carsten Rose
Browse files
Suppress printing the real pathFileName in case it's not accessible. Only show if debugging is on.
parent
6fbfc090
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/AbstractBuildForm.php
View file @
06e1392b
...
...
@@ -2904,6 +2904,10 @@ abstract class AbstractBuildForm {
$link
=
new
Link
(
$this
->
sip
);
$value
=
$link
->
renderLink
(
's|M:file|d|F:'
.
$value
.
'|'
.
$formElement
[
FE_FILE_DOWNLOAD_BUTTON
]);
}
else
{
// In case debugging is off: showing download button means 'never show the real pathfilename'
if
(
!
$this
->
showDebugInfoFlag
)
{
$value
=
''
;
}
$value
.
=
" - file not found, please check field 'value'"
;
}
}
...
...
Write
Preview
Markdown
is supported
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