Skip to content

Commit

Permalink
Remove text from die function, diverse improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Oct 25, 2024
1 parent 3378a67 commit 118c2a3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/pages.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
defined('TYPO3') or die('Access denied.');
defined('TYPO3') or die();

call_user_func(function()
{
Expand Down
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/sys_template.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
defined('TYPO3') or die('Access denied.');
defined('TYPO3') or die();

// Add default Typoscript
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
Expand Down
2 changes: 1 addition & 1 deletion Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
defined('TYPO3') or die('Access denied.');
defined('TYPO3') or die();

TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'SlubDigitalcollections',
Expand Down
4 changes: 2 additions & 2 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ page {
# --------------------------------------------------------------------------------------------------------------------
# body class overrides
# --------------------------------------------------------------------------------------------------------------------
[getTSFE().id == {$config.collectionView}]
[getTSFE() && getTSFE().id == {$config.collectionView}]
page.bodyTag = <body class="collections">
# render content parts only
[END]

[getTSFE().id == {$config.listView}]
[getTSFE() && getTSFE().id == {$config.listView}]
page.bodyTag = <body class="listview">
[END]
7 changes: 4 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
'lockType' => '',
'version' => '4.0.0',
'constraints' => array(
'depends' => array(
'typo3' => '10.4.99-11.5.99',
),
'depends' => [
'php' => '7.4.0-8.3.99',
'typo3' => '11.5.0-12.4.99'
],
),
);
2 changes: 1 addition & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
defined('TYPO3') or die('Access denied.');
defined('TYPO3') or die();

// plugins
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
Expand Down

0 comments on commit 118c2a3

Please sign in to comment.