[FEATURE] Use mod dispatcher for the indexed_search extension
authorSusanne Moog <typo3@susannemoog.de>
Sat, 16 Jun 2012 09:03:18 +0000 (11:03 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 16 Jun 2012 10:15:13 +0000 (12:15 +0200)
Use the backend module dispatcher for the
indexed_search extension.

Change-Id: Ie2f925888100f254622e32df777f2e49b469b431
Resolves: #38109
Releases: 6.0
Reviewed-on: http://review.typo3.org/12123
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Hader
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/indexed_search/mod/conf.php
typo3/sysext/indexed_search/mod/index.php

index 8f231fb..0bd89c2 100755 (executable)
@@ -1,11 +1,8 @@
 <?php
-define('TYPO3_MOD_PATH', 'sysext/indexed_search/mod/');
-$BACK_PATH='../../../';
-
 $MLANG['default']['tabs_images']['tab'] = 'isearch.gif';
 $MLANG['default']['ll_ref']='LLL:EXT:indexed_search/mod/locallang_mod.xml';
 
-$MCONF['script']='index.php';
+$MCONF['script']='_DISPATCH';
 $MCONF['access']='admin';
 $MCONF['name']='tools_isearch';
 ?>
\ No newline at end of file
index fb8e367..e03479a 100755 (executable)
  */
 
 
-unset($MCONF);
-require('conf.php');
-require($BACK_PATH . 'init.php');
-require($BACK_PATH . 'template.php');
 $BE_USER->modAccess($MCONF, 1);
 
 t3lib_extMgm::isLoaded('indexed_search', 1);