Actions
Task #54126
closedAdd tool-function to strip PATH_site-part of paths
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2013-12-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
There are a lot of places like: substr($fileName, strlen(PATH_site))
The toolfunction could avoid having to do this substr/strlen-magic over and over again and also avoid calculating the strlen() multiple times by caching that value.
Actions