Skip to content

Instantly share code, notes, and snippets.

View foertel's full-sized avatar

Felix Oertel foertel

  • Common-Link AG
  • Rendsburg, Germany
View GitHub Profile
@foertel
foertel / composer.json
Created July 31, 2013 21:55
composer.json to test failover repository
{"name":"fo/failover","description":"Demonstrates composers failover capabilities.","repositories":[{"type":"composer","url":"http://composer.foertel.com"}, {"type":"composer","url":"http://composer-failover.foertel.com"}],"require":{"typo3-ter/linkhandler":"*"}}
{
"require": {
"typo3/cms": "~6.1",
"typo3-ter/a1_ttnews": "*"
}
}
{
"repositories": [
{
"type": "composer",
"url": "http://composer.lightwerk.com/"
}
]
}
@foertel
foertel / Typo3DbBackend.php
Created August 23, 2011 15:58 — forked from hlubek/Typo3DbBackend.php
Extbase Language Overlay Fix
<?php
/***************************************************************
* Copyright notice
*
* (c) 2009 Jochen Rau <[email protected]>
* All rights reserved
*
* This class is a backport of the corresponding class of FLOW3.
* All credits go to the v5 team.
*
@foertel
foertel / YourController.php
Created June 8, 2011 13:45
Turning Controller Method Argument Mapping into 404
<?php
/**
* @return void
*/
public function mapRequestArgumentsToControllerArguments() {
try {
parent::mapRequestArgumentsToControllerArguments();
} catch (Tx_Extbase_MVC_Exception_InvalidArgumentValue $exception) {
$GLOBALS['TSFE']->pageNotFoundAndExit();
}