Project

General

Profile

Actions

Bug #35687

closed

createMergedFile failure on external links

Added by Michael Cannon over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-04-04
Due date:
% Done:

0%

Estimated time:
0.50 h
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

In t3lib/class.t3lib_compressor.php at line 292, the external filename is retrieved into the local filesystem, but the filename isn't updated to the local path.

Code change suggestion

Old
$filesToInclude[$key] = $this->retrieveExternalFile($filename);

New
$filename = $this->retrieveExternalFile($filename);
$filesToInclude[$key] = $filename;

Viola! Now, there's no more needing to set the following TypoScript for external JS/CSS files.

includeJSFooterlibs.XYZ.disableCompression = 1
includeJSFooterlibs.XYZ.excludeFromConcatenation = 1


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #32517: t3lib_compressor set local filename to remote uri for external resourcesClosed2011-12-13

Actions
Actions

Also available in: Atom PDF