aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/convert_user_regdates.php
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2002-02-16 10:35:40 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2002-02-16 10:35:40 +0000
commite4242e74fa2594b55b0043d7f943f1fbe2eb44de (patch)
tree76cebccc28be934593cf00b8c810b5c3489ff88b /phpBB/develop/convert_user_regdates.php
parent21a98519379812fd931deee87d775d021dc139a1 (diff)
downloadforums-e4242e74fa2594b55b0043d7f943f1fbe2eb44de.tar
forums-e4242e74fa2594b55b0043d7f943f1fbe2eb44de.tar.gz
forums-e4242e74fa2594b55b0043d7f943f1fbe2eb44de.tar.bz2
forums-e4242e74fa2594b55b0043d7f943f1fbe2eb44de.tar.xz
forums-e4242e74fa2594b55b0043d7f943f1fbe2eb44de.zip
Fixed some security problems for those people that didn't remove or disable the /develop/ dir in their CVS install
git-svn-id: file:///svn/phpbb/trunk@2168 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/develop/convert_user_regdates.php')
-rw-r--r--phpBB/develop/convert_user_regdates.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/phpBB/develop/convert_user_regdates.php b/phpBB/develop/convert_user_regdates.php
index 15d397ef36..21737edda4 100644
--- a/phpBB/develop/convert_user_regdates.php
+++ b/phpBB/develop/convert_user_regdates.php
@@ -2,6 +2,20 @@
<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");
+
+//
+// Do not change anything below this line.
+//
+
+
chdir("../");
include('extension.inc');
@@ -67,4 +81,4 @@ include('includes/db.'.$phpEx);
?>
</body>
-</html> \ No newline at end of file
+</html>