Advertisement
Guest User

Untitled

a guest
Jul 11th, 2012
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.20 KB | None | 0 0
  1. <?php
  2. //$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=unserialize('a:1:{s:8:"_DEFAULT";a:3:{s:4:"init";a:6:{s:16:"enableCHashCache";b:1;s:18:"appendMissingSlash";s:18:"ifNotFile,redirect";s:18:"adminJumpToBackend";b:1;s:20:"enableUrlDecodeCache";b:1;s:20:"enableUrlEncodeCache";b:1;s:19:"emptyUrlReturnValue";s:1:"/";}s:8:"pagePath";a:4:{s:4:"type";s:4:"user";s:8:"userFunc";s:68:"EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main";s:14:"spaceCharacter";s:1:"-";s:14:"languageGetVar";s:1:"L";}s:8:"fileName";a:3:{s:25:"defaultToHTMLsuffixOnPrev";i:0;s:16:"acceptHTMLsuffix";i:1;s:5:"index";a:1:{s:5:"print";a:1:{s:9:"keyValues";a:1:{s:4:"type";i:98;}}}}}}');
  3.  
  4. $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
  5.     'init' => array(
  6.         'useCHashCache' => '0',
  7.         'enableCHashCache' => 1,
  8.         'respectSimulateStaticURLs' => 'TRUE',
  9.         'appendMissingSlash' => 'ifNotFile',
  10.         'enableUrlDecodeCache' => '1',
  11.         'enableUrlEncodeCache' => '1',
  12.     ),
  13.     'preVars' => array(
  14.         array(
  15.             'GETvar' => 'no_cache',
  16.             'valueMap' => array(
  17.                 'no_cache' => 1,
  18.                 'nc' => 1,
  19.             ),
  20.             'noMatch' => 'bypass',
  21.         ),
  22.         array(
  23.             'GETvar' => 'L',
  24.             'valueMap' => array(
  25.                 'de' => '0',
  26.                 'en' => '1',
  27.             ),
  28.             'noMatch' => 'bypass',
  29.         ),
  30.     ),
  31.     'pagePath' => array(
  32.         'type' => 'user',
  33.         'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  34.         'spaceCharacter' => '-',
  35.         'segTitleFieldList' => 'alias,tx_realurl_pathsegment,nav_title,title',
  36.         'languageGetVar' => 'L',
  37.         'expireDays' => 1,
  38.         'disablePathCache' => 1,
  39.         'rootpage_id' => 1,
  40.     ),
  41.     'fileName' => array(
  42.         'index' => array(
  43.             'rss.xml' => array(
  44.                 'keyValues' => array(
  45.                     'type' => 100,
  46.                 ),
  47.             ),
  48.             'rss091.xml' => array(
  49.                 'keyValues' => array(
  50.                     'type' => 101,
  51.                 ),
  52.             ),
  53.             'rdf.xml' => array(
  54.                 'keyValues' => array(
  55.                     'type' => 102,
  56.                 ),
  57.             ),
  58.             'atom.xml' => array(
  59.                 'keyValues' => array(
  60.                     'type' => 103,
  61.                 ),
  62.             ),
  63.         ),
  64.     ),
  65.     'postVarSets' => array(
  66.         '_DEFAULT' => array(
  67.             'browse' => array(
  68.                 array(
  69.                     'GETvar' => 'tx_ttnews[pointer]',
  70.                     'valueMap' => array(
  71.                         'weiter' => '1',
  72.                         'weiter' => '2',
  73.                     )
  74.                 ),
  75.             ),
  76.             // news kategorien
  77.             'categorie' => array(
  78.                 array(
  79.                     'GETvar' => 'tx_ttnews[cat]',
  80.                     'lookUpTable' => array(
  81.                         'table' => 'tt_news_cat',
  82.                         'id_field' => 'uid',
  83.                         'alias_field' => 'title',
  84.                         'addWhereClause' => ' AND NOT deleted',
  85.                         'useUniqueCache' => 1,
  86.                         'useUniqueCache_conf' => array(
  87.                             'strtolower' => 1,
  88.                             'spaceCharacter' => '-',
  89.                         ),
  90.                     ),
  91.                 ),
  92.             ),
  93.             // news artikel
  94.             'date' => array(
  95.                 array('GETvar' => 'tx_ttnews[year]' , ""),
  96.                 array('GETvar' => 'tx_ttnews[month]' , ""),
  97.                 array('GETvar' => 'tx_ttnews[day]' , ""),
  98.                 array(
  99.                     'GETvar' => 'tx_ttnews[tt_news]',
  100.                     'lookUpTable' => array(
  101.                         'table' => 'tt_news',
  102.                         'id_field' => 'uid',
  103.                         'alias_field' => 'title',
  104.                         'addWhereClause' => ' AND NOT deleted',
  105.                         'useUniqueCache' => 1,
  106.                         'useUniqueCache_conf' => array(
  107.                             'strtolower' => 1,
  108.                             'spaceCharacter' => '-',
  109.                         ),
  110.                     ),
  111.                 ),
  112.             ), 
  113.         ),
  114.     ),
  115. );
  116.  
  117. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement