[Typo3] die () function for install file

Christopher bedlamhotel at gmail.com
Wed Jul 6 22:53:54 CEST 2005


On 06/07/05, cbc2 <cbc2 at comcast.net> wrote:
> Hi list
> Can someone write out the exact wording that should be used to implement the die () function in the typo3/install file for security?  My software was installed on the host server with Fantastico.  If I am reading the 'If" "die" statement in my file correctly, it talks about Kasper's personal IP address. (A little confusing).
> Anyway, I can find the "die" part of the statement, but all my searching on the web seems to indicate there is a front part to this function statement - but I have no clue what to say so the install file will be secure and unable to be hacked.

If you just want the script to die if it ever gets as far as that
point in the typo3/install/index.php, then any die() statement will do
[1]. I just stick this in:

die('The installl tool is disabled!');


[1] http://www.php.net/manual/en/function.die.php

More information about the TYPO3-english mailing list