#52848ClassLoader fails when typo3temp is symlink
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.