Bug #98152 » FileNotFoundBackend.patch
Classes/Utility/GeneralUtility.php → Classes/Utility/GeneralUtility.php (date 1660293432340) | ||
---|---|---|
} else {
|
||
$mode = $GLOBALS['TYPO3_CONF_VARS']['BE']['versionNumberInFilename'];
|
||
}
|
||
if ($doNothing || !file_exists($path)) {
|
||
$fileExists = false;
|
||
try {
|
||
$fileExists = file_exists($path);
|
||
} catch (\TYPO3\CMS\Core\Error\Exception $e) {
|
||
}
|
||
if ($doNothing || !$fileExists) {
|
||
// File not found, return filename unaltered
|
||
$fullName = $file;
|
||
} else {
|