Actions
Bug #52848
closedClassLoader fails when typo3temp is symlink
Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-10-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Method \TYPO3\CMS\Core\Cache\Backend\ClassLoaderBackend::setLinkToPhpFile()
uses __DIR__
to construct the path to the file to be included. This fails when folder typo3temp
is symlinked.
Quick fix: use getcwd()
instead of __DIR__
. But since the constructed files are caches for path resolving (as far as I understand) the absolute path should be written to the cache (= PHP file) instead of being calculated there.
Actions