Bug #24807 ยป 17307.diff
t3lib/thumbs.php (Arbeitskopie) | ||
---|---|---|
$file = PATH_site.substr($file,3);
|
||
}
|
||
$mtime = 0;
|
||
// Now the path is absolute.
|
||
// Checking for backpath and double slashes + the thumbnail can be made from files which are in the PATH_site OR the lockRootPath only!
|
||
if (t3lib_div::isAllowedAbsPath($file)) {
|
||
... | ... | |
$this->mtime = $mtime;
|
||
} else {
|
||
throw new RuntimeException(
|
||
'TYPO3 Fatal Error: Image does not exist and/or MD5 checksum did not match.',
|
||
'TYPO3 Fatal Error: Image \'' . $file . '\' does not exist and/or MD5 checksum did not match.',
|
||
1270853950
|
||
);
|
||
}
|