[TYPO3-english] User function in localconf

Arno Dudek webmaster at adgrafik.at
Thu Jan 14 16:12:39 CET 2016


Hi!

I've a questen about the new style in the localconf.php. What is the 
advantage of writing the configuration within a function?

Like here in the news extension:

https://git.typo3.org/TYPO3CMS/Extensions/news.git/blob/HEAD:/ext_localconf.php

$boot = function () {
     [...]
};
$boot();
unset($boot);

Thanks for information :)

lg arno


More information about the TYPO3-english mailing list