private function triggerInitializeSystemHook()
{
if (isset($GLOBALS['TL_HOOKS']['initializeSystem']) && is_array($GLOBALS['TL_HOOKS']['initializeSystem'])) {
foreach ($GLOBALS['TL_HOOKS']['initializeSystem'] as $callback) {
System::importStatic($callback[0])->{$callback[1]}();
}
}
if (file_exists($this->rootDir . '/../system/config/initconfig.php')) {
@trigger_error('Using the initconfig.php file has been deprecated and will no longer work in Contao 5.0.', E_USER_DEPRECATED);
include $this->rootDir . '/../system/config/initconfig.php';
}
}