Deprecation: #68804 - CLI-related constants and methods¶
See Issue #68804
Logic regarding regular CLI-based scripts with the CLIkey option has been moved into the CliRequestHandler.
Therefore, the following method has been marked as deprecated:
Additionally, the following constants and global parameters have been marked for deprecation in CLI context.
const TYPO3_cliKey const TYPO3_cliInclude $GLOBALS['MCONF']['name'] $GLOBALS['temp_cliScriptPath'] $GLOBALS['temp_cliKey']
The method, constants and variables will be removed in TYPO3 CMS 8.
BackendUserAuthentication->checkCLIuser() directly will now trigger a deprecation log entry.
Installations with custom entry points in a CLI environment that make use of the method, constants or variables above.
Use the native
$_SERVER['argv'] or the given
Input object directly in your code to detect the
current CLI-relevant data.