Skip to content

Commit

Permalink
Merge pull request #47 from andwee/main
Browse files Browse the repository at this point in the history
Fix use of TYPO3_MODE constant
  • Loading branch information
sabbelasichon authored Nov 8, 2023
2 parents 40efd88 + aeea32a commit 63c0510
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
strategy:
matrix:
typo3-php-versions:
- { typo3: 10, php: 7.4 }
- { typo3: 11, php: 7.4 }
- { typo3: 12, php: 8.1 }

Expand Down
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/sys_template.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* LICENSE.txt file that was distributed with this source code.
*/

defined('TYPO3_MODE') || die('Access denied.');
defined('TYPO3') || die('Access denied.');

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'typo3_pagerfanta',
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"type": "typo3-cms-extension",
"require": {
"pagerfanta/core": "^3.5",
"typo3/cms-core": "^10.4 || ^11.5 || ^12.4",
"typo3/cms-extbase": "^10.4 || ^11.5 || ^12.4",
"typo3/cms-fluid": "^10.4 || ^11.5 || ^12.4",
"typo3/cms-core": "^11.5 || ^12.4",
"typo3/cms-extbase": "^11.5 || ^12.4",
"typo3/cms-fluid": "^11.5 || ^12.4",
"webmozart/assert": "^1.10"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

defined('TYPO3_MODE') || die('Access denied.');
defined('TYPO3') || die('Access denied.');

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Typo3Pagerfanta',
Expand Down

0 comments on commit 63c0510

Please sign in to comment.