Bug #52926 ยป compressor-path-calculation.diff
typo3_src-4.7.14/t3lib/class.t3lib_compressor.php (Arbeitskopie) | ||
---|---|---|
// if the file exists in the root path, just return the $filename
|
||
if (strpos($filename, $this->backPath) === 0) {
|
||
$file = str_replace($this->backPath, '', $filename);
|
||
if (is_file($this->rootPath . $file)) {
|
||
if (is_file(t3lib_div::resolveBackPath($this->rootPath . $file))) {
|
||
return $file;
|
||
}
|
||
}
|
||
... | ... | |
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_compressor.php']);
|
||
}
|
||
?>
|
||
?>
|