[FEATURE] Integrate possibility to resolve relative path walks
authorOliver Hader <oliver@typo3.org>
Wed, 8 Feb 2012 12:26:48 +0000 (13:26 +0100)
committerTolleiv Nietsch <info@tolleiv.de>
Wed, 8 Feb 2012 19:09:31 +0000 (20:09 +0100)
commit30ee927d52bfac63a3202c0459c99f49b14719fe
treef9de040a852cd6dc8dd6beb399f96b7369d1628c
parent3340dbbfcebdfecac70fcd68045b723e39a9a66a
[FEATURE] Integrate possibility to resolve relative path walks

The BACK_PATH is a known thing in TYPO3, used to define the
relative path to the TYPO3 main directory (./typo3/). Since this
setting is static and strict, it would be nice to finally get
rid of it and have a dynamic way to the determine the relative
paths to be walked.

Examples:
t3lib_utility_Path::resolveBackPath(PATH_t3lib)
t3lib_utility_Path::resolveBackPath(PATH_typo3)
t3lib_utility_Path::resolveBackPath(t3lib_extMgm::extPath('myext') . 'Resources/'):

Change-Id: I4e3b0483299f030bf017074a076201acf61edab9
Resolves: #33753
Releases: 4.7
Reviewed-on: http://review.typo3.org/8905
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
t3lib/core_autoload.php
t3lib/utility/class.t3lib_utility_path.php [new file with mode: 0644]
tests/t3lib/utility/class.t3lib_utility_pathTest.php [new file with mode: 0644]