1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

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

@@ -13,6 +13,15 @@ if (php_sapi_name() != 'cli')
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);
error_reporting(E_ALL);