Issue Bug Closed

#58288Cache that write absolute paths needs PATH_site in cache identifier

Helmut Hummel 04/28/14, 11:40 updated 10/02/18, 11:55

Description

The package cache writes paths to extension directories (TYPO3_LOADED_EXT) into the cache.

When calling e.g. a TYPO3 cli script from a different directory (due to different mounts) and this
cache does not exist yet, it will be written with absolute paths taken from PATH_site of the cli
When then calling the website, many things will fail as relative path calculations are done with the
current PATH_site

The easiest way to tackle this issue, is to make the caches depend on PATH_site, like it is for ext_tables and ext_localconf caches

Reviews 2