1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-02 13:47:55 +02:00

Security updates + a few updates for chopped up functions compatibility

git-svn-id: file:///svn/phpbb/trunk@2310 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-03-18 14:54:25 +00:00
parent a30d780877
commit 9ec9adec4d
19 changed files with 51 additions and 2 deletions

View File

@ -11,6 +11,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
@ -23,9 +25,10 @@ if( !empty($setmodules) )
//
$phpbb_root_dir = "./../";
require('pagestart.inc');
include($phpbb_root_dir . 'includes/functions_selects.'.$phpEx);
//
//
// Pull all config data
//
$sql = "SELECT *
FROM " . CONFIG_TABLE;

View File

@ -28,6 +28,8 @@
* adapted from the unoficial phpMyAdmin 2.2.0.
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -19,6 +19,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);
@ -32,6 +34,7 @@ if( !empty($setmodules) )
//
$phpbb_root_dir = "./../";
require('pagestart.inc');
include($phpbb_root_dir . 'includes/functions_admin.'.$phpEx);
$forum_auth_ary = array(
"auth_view" => AUTH_ALL,

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -19,6 +19,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);

View File

@ -23,6 +23,8 @@
* This file will be used for modifying the smiley settings for a board.
**************************************************************************/
define('IN_PHPBB', 1);
//
// First we do the setmodules stuff for the admin cp.
//

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
if( !empty($setmodules) )
{
$file = basename(__FILE__);

View File

@ -20,6 +20,8 @@
*
***************************************************************************/
define('IN_PHPBB', 1);
//
// Load default header
//

View File

@ -20,6 +20,11 @@
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
//
// Show the overall footer.
//

View File

@ -20,7 +20,12 @@
*
***************************************************************************/
define(HEADER_INC, TRUE);
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
define('HEADER_INC', true);
//
// gzip_compression

View File

@ -20,6 +20,11 @@
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
define('IN_ADMIN', true);
$phpbb_root_path = "../";