contao-community-alliance / backports-initialize-system
Backport of the initializeSystem Hook for Contao Open Source CMS.
Installs: 17 128
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 3
Type:contao-module
Requires
- php: >=5.3
- contao-community-alliance/composer-plugin: ~2.0
- contao/core: >=2.11-dev,<4-dev
This package is auto-updated.
Last update: 2024-11-06 08:35:26 UTC
README
Allows you to use the $GLOBALS['TL_HOOKS']['initializeSystem']
Hook on Contao 2.11 and 3.0.
Known limitations
On Contao 3.1 or newer, the initializeSystem
Hooks is called immediately before the initconfig.php
is included, at the near end of the initialize.php
.
This backport use an autoloader injection and will be loaded when the RequestToken
class get loaded
in the mid of the initialize.php
. That means, that the timezone is not set, TL_PATH
is not defined and no $GLOBALS['TL_LANGUAGE']
is set!
When you use this backport, you need to deal with this limitation ;-)