Project

General

Profile

Bug #98152 » FileNotFoundBackend.patch

Lina Wolf, 2022-08-16 09:37

View differences:

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 {
    (1-1/1)