Issue Task Closed

#54126Add tool-function to strip PATH_site-part of paths

Stefan Neufeind 12/01/13, 16:36 updated 10/02/18, 12:09

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.

Reviews 2