32 $backend = \TYPO3\CMS\Rsaauth\Backend\BackendFactory::getBackend();
33 if (
$backend instanceof \
TYPO3\CMS\Rsaauth\Backend\CommandLineBackend) {
35 $warnings[
'rsaauth_cmdline'] =
$GLOBALS[
'LANG']->sL(
'LLL:EXT:rsaauth/hooks/locallang.xlf:hook_using_cmdline');
37 $extconf = unserialize(
$GLOBALS[
'TYPO3_CONF_VARS'][
'EXT'][
'extConf'][
'rsaauth']);
38 $path = trim($extconf[
'temporaryDirectory']);
41 $warnings[
'rsaauth'] =
$GLOBALS[
'LANG']->sL(
'LLL:EXT:rsaauth/hooks/locallang.xlf:hook_empty_directory');
42 } elseif (!\
TYPO3\CMS\Core\Utility\GeneralUtility::isAbsPath($path)) {
44 $warnings[
'rsaauth'] =
$GLOBALS[
'LANG']->sL(
'LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_not_absolute');
45 } elseif (!@is_dir($path)) {
47 $warnings[
'rsaauth'] =
$GLOBALS[
'LANG']->sL(
'LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_not_exist');
48 } elseif (!@is_writable($path)) {
50 $warnings[
'rsaauth'] =
$GLOBALS[
'LANG']->sL(
'LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_not_writable');
51 } elseif (substr($path, 0, strlen(PATH_site)) == PATH_site) {
53 $warnings[
'rsaauth'] =
$GLOBALS[
'LANG']->sL(
'LLL:EXT:rsaauth/hooks/locallang.xlf:hook_directory_inside_siteroot');
displayWarningMessages_postProcess(array &$warnings)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]