Skip to content

Instantly share code, notes, and snippets.

@pulponair
Created November 27, 2014 14:00
Show Gist options
  • Save pulponair/628da42989902714ef42 to your computer and use it in GitHub Desktop.
Save pulponair/628da42989902714ef42 to your computer and use it in GitHub Desktop.
<?php
$__commonConfig = array(
'init' => array(
'enableCHashCache' => TRUE,
'adminJumpToBackend' => TRUE,
'enableUrlDecodeCache' => TRUE,
'enableUrlEncodeCache' => TRUE
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L'
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev' => 0,
'acceptHTMLsuffix' => 1,
'index' => array(
'print' => array(
'keyValues' => array(
'type' => 98,
)
)
)
)
);
// Duplicate for every domain and make custom adjustments
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = $__commonConfig;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['pagePath']['rootpage_id'] = 1;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment