Actions
Bug #24966
closedSpeed up t3lib_div::resolveBackPath
Start date:
2011-02-05
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
This function is called several hundred times during BE page generation.
I was able to simplify the code and speed it up by using one single regexp (before ca2.0% of total execution time, afterwards ca1.3%)
However, one problem occurs for strings like 'dir1/dir2/..' (trainling ..).
The function doesn't seem to be called this way in the core, usually even a file name is given. Giving it 'dir1/dir2/../' works perfectly..
(issue imported from #M17494)
Files
Updated by Steffen Gebert almost 14 years ago
Closing this, as we can't make this tiny API change.. :(
Actions