add proper die() statements although /develop is never ever shipped with phpBB...

git-svn-id: file:///svn/phpbb/trunk@7288 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-04-06 17:49:47 +00:00
parent 25fc4fdb66
commit 3f6b104312
7 changed files with 63 additions and 0 deletions

View file

@ -10,6 +10,15 @@
// LICENCE : GPL vs2.0 [ see /docs/COPYING ] // LICENCE : GPL vs2.0 [ see /docs/COPYING ]
// //
// ------------------------------------------------------------- // -------------------------------------------------------------
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
define('IN_PHPBB', true); define('IN_PHPBB', true);
$phpbb_root_path = './../'; $phpbb_root_path = './../';

View file

@ -13,6 +13,15 @@ if (php_sapi_name() != 'cli')
die("This program must be run from the command line.\n"); die("This program must be run from the command line.\n");
} }
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
set_time_limit(0); set_time_limit(0);
define('IN_PHPBB', true); define('IN_PHPBB', true);

View file

@ -13,6 +13,15 @@ if (php_sapi_name() != 'cli')
die("This program must be run from the command line.\n"); die("This program must be run from the command line.\n");
} }
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
set_time_limit(0); set_time_limit(0);
define('IN_PHPBB', true); define('IN_PHPBB', true);

View file

@ -4,6 +4,15 @@
</head> </head>
<body> <body>
<?php <?php
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
// ------------------------------------------------------------- // -------------------------------------------------------------
// //
// $Id$ // $Id$

View file

@ -1,4 +1,13 @@
<?php <?php
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
// IP regular expressions // IP regular expressions

View file

@ -8,6 +8,15 @@
// Do NOT FORGET to either remove this script or disable it after you have used it. // Do NOT FORGET to either remove this script or disable it after you have used it.
// //
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
// //
// Do not change anything below this line. // Do not change anything below this line.
// //

View file

@ -13,6 +13,15 @@ if (php_sapi_name() != 'cli')
die("This program must be run from the command line.\n"); die("This program must be run from the command line.\n");
} }
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
die("Please read the first lines of this script for instructions on how to enable it");
set_time_limit(0); set_time_limit(0);
error_reporting(E_ALL); error_reporting(E_ALL);