Don't like ads? PRO users don't see any ads ;-)
Guest

HP

By: a guest on Dec 9th, 2011  |  syntax: PHP  |  size: 0.69 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
  3.     'www.domain.dk' => array(
  4.         'init' => array(
  5.             'enableCHashCache' => '1',
  6.             'enableUrlDecodeCache' => '1',
  7.             'enableUrlEncodeCache' => '1',
  8.             'appendMissingSlash' => 'ifNotFile',
  9.         ),  
  10.         'fileName' => array('defaultToHTMLsuffixOnPrev' => '0'),
  11.         'preVars' => array(
  12.             0 => array(
  13.                 'GETvar' => 'L',
  14.                 'valueMap' => array(
  15.                     'dk' => '0', // The important part
  16.                     'sv' => '1',
  17.                     'no' => '2',
  18.  
  19.                 ),  
  20.                 'noMatch' => 'bypass',
  21.             ),  
  22.         ),  
  23.  
  24.  
  25. ...
  26.