[Typo3-dev] Feature-Request: A way to register a path to include_path by extension manager

Ingo Renner typo3 at ingo-renner.com
Thu Apr 21 06:07:59 CEST 2005


Am Wed, 20 Apr 2005 22:37:19 +0200 schrieb Sven Wilhelm:

Gude Sven,

>> Regarding your later mail: How did you work around this?
> I did it the t3lib_extMgm::extPath way. I knew that way but it's not a
> transparent way and I have to modify each include and require.
> Beside the fact of the rewrite I don't like the idea to have an extra
> php function call for every normal include or require (specially if you
> handle with many little classes).

as just read in the official TYPO3 these days:

$path_whatever = t3lib_extMgm::extPath('whatever');

now just use the variable as it is much faster than calling the function
everytime - it's so easy ;-)

greetings
Ingo


-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list