[Typo3-dev] How to include some code before any TYPO3 code
Dmitry Dulepov
typo3 at fm-world.ru
Sat Jul 30 11:59:58 CEST 2005
Hi!
In your .htaccess or php.ini:
php_value auto_prepend_file /path/prepend.php
php_value auto_append_file /path/prepend.php
You can use it with <Files> or <FilesMatch> directives to patch specific
file.
Dmitry.
Valery Romanchev wrote:
> Hello all
> I am working on vBulletin forum integration with one-time login.
>
> I made working variant, but this needed to patch /index.php file of TYPO3
> With code:
>
> chdir("/home/httpd/xxxx/httpdocs/forums/");
> require('./global.php');
> chdir("../");
>
> (code must be inserted in the top of index.php)
>
> This works fine, but I want to make this without patch.
> I try to insert this code in my vBulletin_auth extension, but this not
> works.
> I also try to insert in ext_localconf.php file - I get error of ext loaging.
>
> Are there any methods to insert this code correcetly?
>
>
> ---
> Best regards,
> Valery Romanchev
> freelance TYPO3 web-developer
> Email: romanchev at list.ru
> Phone: +7 (095) 370-84-08
> Moscow, Russia
>
>
More information about the TYPO3-dev
mailing list