- cleanup:
authorChristian Futterlieb <christian@futterlieb.ch>
Mon, 23 Jun 2014 11:39:25 +0000 (13:39 +0200)
committerChristian Futterlieb <christian@futterlieb.ch>
Mon, 23 Jun 2014 11:39:25 +0000 (13:39 +0200)
  - removed development stuff
  - removed default value from additionalHeaders

Classes/Controller/PagenotfoundController.php
Configuration/TCA/Overrides/TcaAdditions.php
ext_conf_template.txt

index 54e17e6..bec0cec 100644 (file)
@@ -548,8 +548,3 @@ class Tx_Pagenotfoundhandling_Controller_PagenotfoundController
         return preg_replace('/&?(id|loopPrevention|' . $this->_languageParam . ')=[^&]*/', '', $params);
     }
 }
-
-if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/pagenotfoundhandling/class.tx_pagenotfoundhandling.php']) {
-    include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/pagenotfoundhandling/class.tx_pagenotfoundhandling.php']);
-}
-?>
\ No newline at end of file
index fff0012..979cdd7 100644 (file)
@@ -179,24 +179,6 @@ if(!isset($conf['disableDomainConfig']) || empty($conf['disableDomainConfig']))
         $GLOBALS['TCA']['sys_domain']['ctrl']['requestUpdate'] = 'tx_pagenotfoundhandling_enable';
     }
 
-    // creating palettes
-    $GLOBALS['TCA']['sys_domain']['palettes']['tx_pagenotfoundhandling_404'] = array(
-        'showitem' => 'tx_pagenotfoundhandling_default404Page,--linebreak--,tx_pagenotfoundhandling_defaultTemplateFile',
-        'canNotCollapse' => 1
-    );
-    $GLOBALS['TCA']['sys_domain']['palettes']['tx_pagenotfoundhandling_403'] = array(
-        'showitem' => 'tx_pagenotfoundhandling_default403Page,--linebreak--,tx_pagenotfoundhandling_default403Header',
-        'canNotCollapse' => 1
-    );
-    $GLOBALS['TCA']['sys_domain']['palettes']['tx_pagenotfoundhandling_language'] = array(
-        'showitem' => 'tx_pagenotfoundhandling_ignoreLanguage,tx_pagenotfoundhandling_forceLanguage,tx_pagenotfoundhandling_languageParam',
-        'canNotCollapse' => 1
-    );
-    $GLOBALS['TCA']['sys_domain']['palettes']['tx_pagenotfoundhandling_options'] = array(
-        'showitem' => 'tx_pagenotfoundhandling_passthroughContentTypeHeader',
-        'canNotCollapse' => 1
-    );
-
     t3lib_extMgm::addTCAcolumns('sys_domain', $tempColumns, 1);
 
     t3lib_extMgm::addToAllTCAtypes('sys_domain', '
index 2dd8389..13f8d11 100644 (file)
@@ -26,7 +26,7 @@ disableDomainConfig = 0
 passthroughContentTypeHeader = 0
 
 # cat=basic/enable; type=string; label=LLL:EXT:pagenotfoundhandling/locallang_db.xml:pagenotfoundhandling.constants.additionalHeaders
-additionalHeaders = X-404PageBy: pagenotfoundhandling
+additionalHeaders = 
 
 # cat=basic/language; type=boolean; label=LLL:EXT:pagenotfoundhandling/locallang_db.xml:pagenotfoundhandling.constants.ignoreLanguage
 ignoreLanguage = 0