Bug #14846 ยป incfile.php.patch
incfile.php Thu Jun 30 20:25:56 2005 | ||
---|---|---|
<?php
|
||
// This checks for my own IP at home. You can just remove the if-statement.
|
||
if (1==0 || (substr($_SERVER['REMOTE_ADDR'],0,7)!='192.168' && $_SERVER['REMOTE_ADDR']!='127.0.0.1')) {
|
||
die("In the source distribution of TYPO3, the phpcheck script is disabled by a die() function call.<br/><b>Fix:</b> Open the file typo3_src/misc/phpcheck/index.php and remove/out-comment the line that outputs this message!");
|
||
}
|
||
SetCookie("test_script_cookie", "Cookie Value!", 0, "/");
|
||