Project

General

Profile

Bug #20972 ยป sure.diff

Administrator Admin, 2009-09-01 18:48

View differences:

typo3/cli_dispatch.phpsh (working copy)
foreach ($checkEnvVars as $var) {
if (array_key_exists($var, $_SERVER)) {
echo 'SECURITY CHECK FAILD! This script cannot be used within your browser!' . chr(10);
echo 'If you are suue that we run in a shell or cronjob, please unset' . chr(10);
echo 'If you are sure that we run in a shell or cronjob, please unset' . chr(10);
echo 'environment variable ' . $var . ' (usually using \'unset ' . $var . '\')' . chr(10);
echo 'before starting this script.' . chr(10);
exit;
    (1-1/1)