This file contains 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 declare(strict_types=1); | |
/* | |
* | |
* This file is part of the "Skill Display" Extension for TYPO3 CMS. | |
* | |
* For the full copyright and license information, please read the | |
* LICENSE.txt file that was distributed with this source code. | |
* | |
* Copyright (c) Reelworx GmbH | |
* |
This file contains 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 | |
/** | |
* (c) by Reelworx GmbH, Markus Klein <markus.klein@reelworx.at> | |
* | |
* License GPL 3 | |
*/ | |
namespace Reelworx\LatexFluid; | |
use TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode; |
This file contains 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 | |
/** | |
* Merges two arrays recursively and "binary safe" (integer keys are | |
* overridden as well), overruling similar values in the first array | |
* ($arr0) with the values of the second array ($arr1) | |
* In case of identical keys, ie. keeping the values of the second. | |
* | |
* @param array $arr0 First array | |
* @param array $arr1 Second array, overruling the first array | |
* @param boolean $notAddKeys If set, keys that are NOT found in $arr0 (first array) will not be set. |
This file contains 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
/********************************************************* | |
* Copyright (C) 2006-2015 VMware, Inc. All rights reserved. | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License as published by the | |
* Free Software Foundation version 2 and no later version. | |
* | |
* This program is distributed in the hope that it will be useful, but | |
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
This file contains 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 | |
class Foo { | |
protected function buildFakeFE($pageUid) { | |
// clear session key to avoid FE cookies | |
$oldGETSessionKey = ''; | |
if (isset($GLOBALS['_GET']['FE_SESSION_KEY'])) { | |
$oldGETSessionKey = $GLOBALS['_GET']['FE_SESSION_KEY']; | |
} | |
$oldPOSTSessionKey = ''; | |
if (isset($GLOBALS['_POST']['FE_SESSION_KEY'])) { |
This file contains 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 | |
# | |
# TYPO3 CMS Upgrade script | |
# | |
# (c) Reelworx GmbH, http://reelworx.at | |
# | |
# Date: 2016-05-17 | |
# Licence: MIT | |
# |