aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-09-19 15:16:45 +0200
committerNils Adermann <naderman@naderman.de>2013-09-19 15:16:45 +0200
commitcc6f1e1775bc81a374a5c168968d48daf494a950 (patch)
tree7ff83d077e806b62507247f49744db0881426fe0 /phpBB/develop
parent1adcbccc09dfb890a39939202b4e520a2458407a (diff)
downloadforums-cc6f1e1775bc81a374a5c168968d48daf494a950.tar
forums-cc6f1e1775bc81a374a5c168968d48daf494a950.tar.gz
forums-cc6f1e1775bc81a374a5c168968d48daf494a950.tar.bz2
forums-cc6f1e1775bc81a374a5c168968d48daf494a950.tar.xz
forums-cc6f1e1775bc81a374a5c168968d48daf494a950.zip
[ticket/11700] Add file headers to develop scripts for namespace
PHPBB3-11700
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/namespacify.php15
-rw-r--r--phpBB/develop/rename_interfaces.php15
2 files changed, 30 insertions, 0 deletions
diff --git a/phpBB/develop/namespacify.php b/phpBB/develop/namespacify.php
index 1995a01594..4e460eead8 100644
--- a/phpBB/develop/namespacify.php
+++ b/phpBB/develop/namespacify.php
@@ -1,4 +1,19 @@
<?php
+/**
+*
+* @copyright (c) 2012 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+//
+// 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");
$namespace_dir = realpath(__DIR__ . '/../phpbb/');
$code_dir = realpath(__DIR__ . '/../');
diff --git a/phpBB/develop/rename_interfaces.php b/phpBB/develop/rename_interfaces.php
index b27f93e340..11989350bb 100644
--- a/phpBB/develop/rename_interfaces.php
+++ b/phpBB/develop/rename_interfaces.php
@@ -1,4 +1,19 @@
<?php
+/**
+*
+* @copyright (c) 2012 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+*
+*/
+
+//
+// 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");
$code_dir = realpath(__DIR__ . '/../');
$test_dir = realpath(__DIR__ . '/../../tests/');