[TYPO3-core] RFC #12484: PHP-5.3: No module labels

Dan Osipov dosipov at phillyburbs.com
Thu Nov 5 20:24:10 CET 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12484

Branch: Trunk

Problem:
Running on PHP 5.3 in Windows, labels for modules (Web, User tools, 
Admin tools, etc) are missing.

Problem is the following line in class.t3lib_loadmodules.php:
$path = preg_replace('/\/[^\/.]+\/\.\.\//', '/', $fullpath);

$path is NULL in this case.

Solution:
Use resolveBackPath function from t3lib_div. This also fixes the missing 
page tree problem in the same installation.
-- 
Dan Osipov
Calkins Media
http://danosipov.com/blog/


More information about the TYPO3-team-core mailing list