[TYPO3-core] RFC: #9346: Preinitialise GLOBALS[LANG] in init.php

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 16 06:29:03 CEST 2008


Hi!

Steffen Kamper wrote:
> There are several places where GLOBALS[LANG] is initialised in core
> * ajax.php
> * template.php
> * class.modulemenu.php
> * class.shortcutmenu.php
> 
> I moved initialisation to init.php direct after BE_USER authentication 
> and removed the other initialisations.
> 
> Now we have GLOBALS[LANG] available all the time (in BE)
> (because it isn't i declared the patch as bugfix)

I just found initialization of $LANG in classes/class.modulemenu.php and classes/class.shortcutmenu.php. What are those?

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/debugging_symlinked_typo3_files_with_komodo_ide_on_mac/


More information about the TYPO3-team-core mailing list