16 if (\
TYPO3\CMS\Core\Utility\GeneralUtility::_GP(
't')) {
19 if (\
TYPO3\CMS\Core\Utility\GeneralUtility::_GP(
'f')) {
22 if (\
TYPO3\CMS\Core\Utility\GeneralUtility::_GP(
'p')) {
26 if (\
TYPO3\CMS\Core\Utility\GeneralUtility::hmac(implode(
'|',
$parameters),
'resourceStorageDumpFile') === \
TYPO3\CMS\Core\Utility\GeneralUtility::_GP(
'token')) {
30 if ($file->isDeleted() || $file->isMissing()) {
33 }
catch (\Exception $e) {
38 if (!$file || $file->isDeleted()) {
48 if (is_array(
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'FileDumpEID.php'][
'checkFileAccess'])) {
49 foreach (
$GLOBALS[
'TYPO3_CONF_VARS'][
'SC_OPTIONS'][
'FileDumpEID.php'][
'checkFileAccess'] as $classRef) {
51 if (!$hookObject instanceof \
TYPO3\CMS\Core\Resource\Hook\FileDumpEIDHookInterface) {
52 throw new \UnexpectedValueException(
'$hookObject must implement interface TYPO3\\CMS\\Core\\Resource\\FileDumpEIDHookInterface', 1394442417);
54 $hookObject->checkFileAccess($file);
57 $file->getStorage()->dumpFileContents($file);
static getUserObj($classRef, $checkPrefix='', $silent=FALSE)
static makeInstance($className)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
static setResponseCodeAndExit($httpStatus=self::HTTP_STATUS_303)