Now using Core dispatcher for backend module (thanks to Oliver Hader)
authorXavier Perseguers <typo3@perseguers.ch>
Mon, 16 Nov 2009 17:51:58 +0000 (17:51 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Mon, 16 Nov 2009 17:51:58 +0000 (17:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@26602 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/ChangeLog
typo3/sysext/dbal/mod1/conf.php
typo3/sysext/dbal/mod1/index.php

index ff1146c..a2a2254 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-16  Xavier Perseguers  <typo3@perseguers.ch>
+
+       * Now using Core dispatcher for backend module (thanks to Oliver Hader)
+
 2009-11-15  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #12596: RIGHT OUTER JOIN is not supported
index 45b1e4b..daee6e2 100644 (file)
@@ -1,14 +1,11 @@
 <?php
 
        // DO NOT REMOVE OR CHANGE THESE 3 LINES:
-define('TYPO3_MOD_PATH', 'sysext/dbal/mod1/');
-$BACK_PATH='../../../';
-$MCONF['name']='tools_txdbalM1';
+$MCONF['name'] = 'tools_txdbalM1';
 
-
-$MCONF['access']='admin';
-$MCONF['script']='index.php';
+$MCONF['access'] = 'admin';
+$MCONF['script'] = '_DISPATCH';
 
 $MLANG['default']['tabs_images']['tab'] = 'moduleicon.gif';
-$MLANG['default']['ll_ref']='LLL:EXT:dbal/mod1/locallang_mod.xml';
+$MLANG['default']['ll_ref'] = 'LLL:EXT:dbal/mod1/locallang_mod.xml';
 ?>
\ No newline at end of file
index 907ca30..c0834a1 100644 (file)
  * @author     Karsten Dambekalns <karsten@typo3.org>
  */
 
-unset($MCONF);
-require('conf.php');
-require($BACK_PATH . 'init.php');
-require($BACK_PATH . 'template.php');
 $LANG->includeLLFile('EXT:dbal/mod1/locallang.xml');
 $BE_USER->modAccess($MCONF, 1);