This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --branch ${TYPO3_VERSION} --depth 1 https://github.com/TYPO3/TYPO3.CMS.git typo3_src-${TYPO3_VERSION} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_branch) < 8006000 && | |
\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_branch) >= 7006000) { | |
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1501063451] = array( | |
'nodeName' => 'inputDateTime', | |
'priority' => 40, | |
'class' => \TYPO3\CMS\Backend\Form\Element\InputTextElement::class, | |
); | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib.mainNav = HMENU | |
lib.mainNav { | |
cache.key = lib-mainNav_{TSFE:sys_page|versioningWorkspaceId}_{global:BE_USER|user|uid} | |
cache.key.insertData = 1 | |
cache.lifetime = 900 | |
cache.tags = typoscript_mainNavigation | |
### ... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* renders a recursive pidList to reference content from a list of pages | |
*/ | |
public function user_getTreeList() | |
{ | |
$this->getTSFE()->acquireLock('getTreeList', $this->cObj->data['uid'].'::'.(int)$this->getTSFE()->register['tt_content_shortcut_recursive']); | |
$pidList = $this->getTSFE()->register['tt_content_shortcut_recursive'] | |
? $this->cObj->getTreeList($this->cObj->data['uid'], | |
$this->getTSFE()->register['tt_content_shortcut_recursive']) | |
: ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
paths: | |
- /cache/composer | |
stages: | |
- composer | |
- deploy | |
build: | |
stage: composer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Updating system | |
# | |
sudo apt-get update # Update resources | |
sudo apt dist-upgrade -f # Then, a dist upgrade | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Classes/Hooks/UrlRewritingHook.php b/Classes/Hooks/UrlRewritingHook.php | |
index 2299ec0..cb1a688 100644 | |
--- a/Classes/Hooks/UrlRewritingHook.php | |
+++ b/Classes/Hooks/UrlRewritingHook.php | |
@@ -161,6 +161,13 @@ class UrlRewritingHook implements SingletonInterface | |
*/ | |
protected $rebuildCHash; | |
+ /** | |
+ * Flag to have realurl get cache entries greedy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Vendor\Example\Command; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; | |
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Helper\Table; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 002c27d1d2e9605af0c9a2dcca0052fbdc1d368b Mon Sep 17 00:00:00 2001 | |
From: Patrick Schriner <patrick.schriner@diemedialen.de> | |
Date: Wed, 13 May 2020 14:46:09 +0200 | |
Subject: [PATCH] [BUGFIX] Fix image size detection | |
--- | |
typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function Language2XML($data, $language, $translations = array()) { | |
$xml = new DOMDocument('1.0', 'UTF-8'); | |
$xliff = $xml->createElement('xliff'); | |
$xliff->setAttribute('version', '1.0'); | |
$file = $xml->createElement('file'); | |
$file->setAttribute('source-language', 'en'); | |
if (func_num_args() > 2) { | |
$file->setAttribute('target-language', $language); |
OlderNewer