[TYPO3-english] Is there a condition to check the OS of the server?
Christopher at temporaryforwarding.com
Wed Dec 17 21:02:36 CET 2008
"Dmitry Dulepov" <dmitry at typo3.org> schrieb im Newsbeitrag
news:mailman.1.1229541990.25193.typo3-english at lists.netfielders.de...
> Christopher wrote:
>> To come back to the problem: The docs are correct by saying that it ONLY
>> works correctly, if the code is directly(!) written in localconf.php.
> It is an example!
>> Adding the code using include/require(_once)() in localconf only works
>> calling the page for the very first time.
> localconf.php works every time when anything is called in TYPO3 (every
> page, BE or FE). require_once is necessary to let Install tool work
> properly, it sometimes includes this file more than once. If there is a
> function with the same name, there will be a PHP error. "once" means "once
> during this HTTP request.
Can there be any problems if I add the function to localconf instead of
(I added it above the install-tool-token.)
More information about the TYPO3-english