[BUGFIX] Replace __DIR__ with absolute path in class cache 40/24840/9
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Wed, 16 Oct 2013 19:59:31 +0000 (21:59 +0200)
committerThomas Maroschik <tmaroschik@dfau.de>
Mon, 21 Oct 2013 10:08:06 +0000 (12:08 +0200)
commit8d77b6c2eef8b206dbceff7d395c3e398b0fd98e
tree0f0f655e7f6834a32eb41546d6ede8967fd7ab9d
parent57dbb49ff7ceab21f32c5c5971d346df63d0bc00
[BUGFIX] Replace __DIR__ with absolute path in class cache

Since the directory constant __DIR__ is not always the same in all
environments (web, command line) we only allow absolute paths in the
class cache.

This requires the class cache to be cleared after the TYPO3 instance
was moved to another directory.

Resolves: #52885
Releases: 6.2
Change-Id: I0fc4c13d2977883e6881b5d7dda189813f97ae36
Reviewed-on: https://review.typo3.org/24840
Tested-by: Sebastian Fischer
Reviewed-by: Thorsten Kahler
Tested-by: Thorsten Kahler
Reviewed-by: Jigal van Hemert
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
typo3/sysext/core/Classes/Cache/Backend/ClassLoaderBackend.php
typo3/sysext/core/Classes/Core/ClassAliasMap.php