Project

General

Profile

Actions

Bug #19328

closed

Preinitialise GLOBALS[LANG] in init.php

Added by Steffen Kamper about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-09-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

9346_lang.diff (3.21 KB) 9346_lang.diff Administrator Admin, 2008-09-15 10:55
Actions #1

Updated by Oliver Hader about 16 years ago

Committed to SVN Trunk (rev. 4144) by Dmitry

Actions

Also available in: Atom PDF