Issue Bug Closed

#19328Preinitialise GLOBALS[LANG] in init.php

Steffen Kamper 09/15/08, 10:46 updated 08/06/10, 13:22

Description

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)

(issue imported from #M9346)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.