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

Martin Kutschker masi-no at spam-typo3.org
Tue Sep 16 13:30:35 CEST 2008


Steffen Kamper schrieb:
> Hi,
> 
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9346
> 
> Branches: trunk
> 
> 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.

Sounds good to me:; +1

Masi


More information about the TYPO3-team-core mailing list