aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-04-06 17:49:47 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-04-06 17:49:47 +0000
commit3f6b104312b703701272f5253e391b37c3fcef6b (patch)
tree1a636b0d356e0eb14f2cf96ef7eb7e0b540387c7
parent25fc4fdb664cb1c9cf892bb186e854061ab35468 (diff)
downloadforums-3f6b104312b703701272f5253e391b37c3fcef6b.tar
forums-3f6b104312b703701272f5253e391b37c3fcef6b.tar.gz
forums-3f6b104312b703701272f5253e391b37c3fcef6b.tar.bz2
forums-3f6b104312b703701272f5253e391b37c3fcef6b.tar.xz
forums-3f6b104312b703701272f5253e391b37c3fcef6b.zip
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
-rw-r--r--phpBB/develop/fill.php9
-rw-r--r--phpBB/develop/generate_utf_casefold.php9
-rw-r--r--phpBB/develop/generate_utf_tables.php9
-rw-r--r--phpBB/develop/lang_duplicates.php9
-rw-r--r--phpBB/develop/regex.php9
-rw-r--r--phpBB/develop/search_fill.php9
-rw-r--r--phpBB/develop/utf_normalizer_test.php9
7 files changed, 63 insertions, 0 deletions
diff --git a/phpBB/develop/fill.php b/phpBB/develop/fill.php
index 2aee3d333f..336e510d06 100644
--- a/phpBB/develop/fill.php
+++ b/phpBB/develop/fill.php
@@ -10,6 +10,15 @@
// 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);
$phpbb_root_path = './../';
diff --git a/phpBB/develop/generate_utf_casefold.php b/phpBB/develop/generate_utf_casefold.php
index d9aace10ce..cb8ce489b7 100644
--- a/phpBB/develop/generate_utf_casefold.php
+++ b/phpBB/develop/generate_utf_casefold.php
@@ -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);
define('IN_PHPBB', true);
diff --git a/phpBB/develop/generate_utf_tables.php b/phpBB/develop/generate_utf_tables.php
index ffad9106d6..ce19c2a374 100644
--- a/phpBB/develop/generate_utf_tables.php
+++ b/phpBB/develop/generate_utf_tables.php
@@ -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);
define('IN_PHPBB', true);
diff --git a/phpBB/develop/lang_duplicates.php b/phpBB/develop/lang_duplicates.php
index 5a77c79543..5be48f69f0 100644
--- a/phpBB/develop/lang_duplicates.php
+++ b/phpBB/develop/lang_duplicates.php
@@ -4,6 +4,15 @@
</head>
<body>
<?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$
diff --git a/phpBB/develop/regex.php b/phpBB/develop/regex.php
index 7abecc9650..d59d9e6d68 100644
--- a/phpBB/develop/regex.php
+++ b/phpBB/develop/regex.php
@@ -1,4 +1,13 @@
<?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
diff --git a/phpBB/develop/search_fill.php b/phpBB/develop/search_fill.php
index 1ab74f562c..6b83b6848b 100644
--- a/phpBB/develop/search_fill.php
+++ b/phpBB/develop/search_fill.php
@@ -9,6 +9,15 @@
//
//
+// 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.
//
set_time_limit(0);
diff --git a/phpBB/develop/utf_normalizer_test.php b/phpBB/develop/utf_normalizer_test.php
index 2026d3d4c8..45ffaa11e9 100644
--- a/phpBB/develop/utf_normalizer_test.php
+++ b/phpBB/develop/utf_normalizer_test.php
@@ -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);