#19328Preinitialise GLOBALS[LANG] in init.php
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.