mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00: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:
parent
25fc4fdb66
commit
3f6b104312
7 changed files with 63 additions and 0 deletions
|
@ -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 = './../';
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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$
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
//
|
//
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue