Bug #17566
closed"cli_dispatch.phpsh lowlevel_cleaner missing_files" list an existing directory as a missing file
0%
Description
In the "Constants" field of my root level template i have this constant:
========
REL_PATH_PREFIX = fileadmin/brp/template/
========
"REL_PATH_PREFIX" in then used in "Setup":
========
plugin.tx_automaketemplate_pi1.relPathPrefix = {$REL_PATH_PREFIX}
========
That is, i think, the right way to configure automaketemplate.
When i run the command line :
========
./typo3/cli_dispatch.phpsh lowlevel_cleaner missing_files r -v 2 -s --refindex check
--------------------------------------------
[missing_files]
List of missing files registered as a soft reference [WARNING]
---------------------------------------------
Explanation: Shows the relative filename of missing file as header and under a list of
record fields in which the references are found. The list of records is
organized as [table]:[uid]:[field]:[flexpointer]:[softref_key]
Array
(
[fileadmin/brp/template/] => Array
(
[79c97f8axxEf19d7aa2ef16fc3e4c7f7] => sys_template:1:constants::TStemplate
)
) ========
Is it possible / good to relax the test in class.missing_files.php ?
Something like:
======== Line 131
// Minor change to not report directories as missing file
//if (!@is_file(PATH_site.$rec['ref_string'])) {
if (!@is_file(PATH_site.$rec['ref_string']) && !@is_dir(PATH_site.$rec['ref_string'])) {
========
Thank you for your suggestion.
PS: isn't it possible to select PHP Version 4.4 when reporting a bug ?
(issue imported from #M6232)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.