TYPO3 CMS  TYPO3_6-2
init.php File Reference

Go to the source code of this file.

Variables

const TYPO3_MODE 'BE'
 

Variable Documentation

◆ TYPO3_MODE

const TYPO3_MODE 'BE'

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! TYPO3 Backend initialization

This script is called by every backend script. The script authenticates the backend user. In addition this script also initializes the database and other depending on LocalConfiguration.php

IMPORTANT: This script exits if no user is logged in! If you want the script to return even if no user is logged in, you must define the constant TYPO3_PROCEED_IF_NO_USER=1 before you include this script.

This script does the following:

  • extracts and defines path's
  • includes certain libraries
  • authenticates the user
  • load the groupdata for the user and set filemounts / webmounts

For a detailed description of this script, the scope of constants and variables in it, please refer to the document "Inside TYPO3"

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 40 of file init.php.

Referenced by TYPO3\CMS\Core\Resource\ResourceCompressor\__construct(), TYPO3\CMS\IndexedSearch\FileContentParser\__construct(), TYPO3\CMS\Core\Resource\Driver\DriverRegistry\addDriversToTCA(), TYPO3\CMS\Core\Page\PageRenderer\addExtOnReadyCode(), TYPO3\CMS\Rtehtmlarea\Extension\Plaintext\applyToolbarConstraints(), TYPO3\CMS\Saltedpasswords\SaltedPasswordService\authUser(), TYPO3\CMS\Rtehtmlarea\Extension\Plaintext\buildJavascriptConfiguration(), TYPO3\CMS\Core\Utility\File\BasicFileUtility\cleanFileName(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\convertCharset(), TYPO3\CMS\Core\Utility\GeneralUtility\createVersionNumberedFilename(), TYPO3\CMS\Core\Resource\ResourceCompressor\cssFixRelativeUrlPaths(), TYPO3\CMS\Core\Utility\DebugUtility\debug(), TYPO3\CMS\Core\Core\Bootstrap\defineTypo3RequestTypes(), TYPO3\CMS\Core\Error\ProductionExceptionHandler\discloseExceptionInformation(), TYPO3\CMS\Core\Page\PageRenderer\doCompressCss(), TYPO3\CMS\Core\Page\PageRenderer\doCompressJavaScript(), TYPO3\CMS\Core\Page\PageRenderer\doConcatenateCss(), TYPO3\CMS\Core\Page\PageRenderer\doConcatenateJavaScript(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\getCharsetConversion(), TYPO3\CMS\Core\Resource\AbstractRepository\getEnvironmentMode(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\getExtDirectApi(), TYPO3\CMS\Core\Resource\ResourceFactory\getFileReferenceObject(), TYPO3\CMS\Form\Localization\getLocalLanguageLabel(), TYPO3\CMS\Core\ExtDirect\ExtDirectApi\getRoutingUrl(), TYPO3\CMS\Core\Messaging\FlashMessageQueue\getUserByContext(), TYPO3\CMS\Saltedpasswords\SaltedPasswordService\init(), TYPO3\CMS\Core\Imaging\GraphicalFunctions\init(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\initializeLocalization(), TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper\injectConfigurationManager(), TYPO3\CMS\Extbase\Service\EnvironmentService\isEnvironmentInBackendMode(), TYPO3\CMS\Extbase\Service\EnvironmentService\isEnvironmentInFrontendMode(), TYPO3\CMS\Fluid\ViewHelpers\Link\EmailViewHelper\isFrontendAvailable(), TYPO3\CMS\Core\FormProtection\FormProtectionFactory\isFrontendSession(), TYPO3\CMS\Core\Resource\ResourceStorage\isOnline(), TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder\loadWidgetContexts(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\main(), TYPO3\CMS\Core\Page\PageRenderer\processJsFile(), TYPO3\CMS\Core\Core\Bootstrap\registerExtDirectComponents(), TYPO3\CMS\Fluid\ViewHelpers\Uri\EmailViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Uri\ResourceViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlViewHelper\render(), TYPO3\CMS\Fluid\ViewHelpers\Format\CropViewHelper\render(), TYPO3\CMS\Core\Page\PageRenderer\renderMainJavaScriptLibraries(), TYPO3\CMS\Core\Resource\Driver\LocalDriver\sanitizeFileName(), TYPO3\CMS\Core\Error\ErrorHandler\setExceptionalErrors(), TYPO3\CMS\Core\Resource\ResourceCompressor\setInitialBackPath(), TYPO3\CMS\Core\Resource\ResourceCompressor\setInitialRelativePath(), TYPO3\CMS\Core\Resource\ResourceCompressor\setInitialRootPath(), TYPO3\CMS\Rtehtmlarea\Controller\SpellCheckingController\setPersonalDictionaryPath(), TYPO3\CMS\Fluid\Core\Widget\AjaxWidgetContextHolder\storeWidgetContexts(), TYPO3\CMS\Extbase\Utility\LocalizationUtility\translateFileReference(), TYPO3\CMS\Openid\OpenidService\writeLog(), TYPO3\CMS\Core\Error\AbstractExceptionHandler\writeLogEntries(), and TYPO3\CMS\Saltedpasswords\SaltedPasswordService\writeLogMessage().