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

Steffen Kamper info at sk-typo3.de
Mon Sep 15 10:59:28 CEST 2008


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.

Now we have GLOBALS[LANG] available all the time (in BE)
(because it isn't i declared the patch as bugfix)

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 9346_lang.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080915/357d4ffc/attachment.txt 


More information about the TYPO3-team-core mailing list