Actions
Bug #34162
closedMerging CSS/JS files with absRefPrefix set causes PHP error
Start date:
2012-02-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When absRefPrefix is set to full url of the site - could be http://domain.com/home/, the t3lib_Compressor causes an PHP error when trying to do filemtime and filesize on the file.
TSRef suggests setting absRefPrefix to full url:
...
If you're working on a server where you have both internal and external access, you might do yourself a favor and set the absRefPrefix to the url and path of you site, e.g. http://www.typo3.com/.
...
The following patch fixes this:
292c292,293
< $filesToInclude[$key] = $this->retrieveExternalFile($filename);
---
$filename = $this->retrieveExternalFile($filename);
$filesToInclude[$key] = $filename;
294a296
296a299
Actions