/ Published in: PHP
I hate to configure everything twice or more often. So I use typoscript to configure everything at one place. To get this configuration in my php-scripts (perhaps a hook) I use this little Code:
First you need to include the typoscript parser. The you have to read your typoscript file. Then you can parse the file content.
$tsParser->setup contains the parsed typoscript.
First you need to include the typoscript parser. The you have to read your typoscript file. Then you can parse the file content.
$tsParser->setup contains the parsed typoscript.
URL: http://wiki.typo3.org/User:Layne_obserdia/Backend