[Typo3-dev] make path relative to TYPO3_DOCUMENT_ROOT
Thomas Murphy
murphy at thepanemgroup.com
Fri Sep 24 20:26:34 CEST 2004
Hello everyone,
in the fileadmin, when I use a clickmenue extension, it gets an absolute
pathname in $_GET, i need to change that into a relative
(web-accessible) pathname.
like: /var/www/mysite.com/fileadmin/mytext.txt
to: /fileadmin/mytext.txt
I could search for 'fileadmin' in the string, but this is dirty, as the
label for the fileadmin-folder can be changed by the install-tool.
Is there a function for this?
bye,
Thomas
More information about the TYPO3-dev
mailing list