🐛 Replace check for 'TYPO3_MODE' with check for 'TYPO3'

The TYPO3_MODE variable was deprecated with TYPO3 v11 and replaced
with the TYPO3 constant.

Refs: #2
This commit is contained in:
Marcel Kapfer 2023-05-06 12:54:55 +02:00
parent 2af99f3a4d
commit 89ee94bf28
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php
if (!defined('TYPO3_MODE')) {
if (!defined('TYPO3')) {
die('Access denied.');
}