[TYPO3-core] RFC: Make the "Doc" module a sysext

Benjamin Mack mack at xnos.org
Tue Oct 30 10:10:39 CET 2007


Hi Ingo,

about your request: The extension right now does not call index.php but 
calls alt_doc.php directly which does take care of everything.
So, I tried using mod.php, therefore I changed everything in 
ext_emconf.php and conf.php, I created the index.php file (which we 
hadn't had before) which is a simple wrapper to include alt_doc.php

   require_once(PATH_typo3.'alt_doc.php');

but it does not work because this script calls init.php again. Then I 
tried to do a require_once(init.php) which then renders an empty page. 
The only solution I found was doing this in the index.php

header('Location: alt_doc.php');

and it worked.

So I suggest commiting it without taking care of your request. Maybe I 
find a solution later in the process. Is that ok with you? Or should I 
take the "header-location" solution?

greetings,
benni.
-SDG-



Ingo Renner wrote:
> Hi Benni,
> 
> works as expected
> +0,5
> 
> you get the other 0,5 if you change the module to use typo3/mod.php
> 
> @see http://bugs.typo3.org/view.php?id=5278
> @see http://bugs.typo3.org/view.php?id=5326
> 
> 
> all the best
> Ingo
> 
> 
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/ 
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core


More information about the TYPO3-team-core mailing list