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:
parent
a30d780877
commit
9ec9adec4d
@ -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;
|
||||
|
@ -28,6 +28,8 @@
|
||||
* adapted from the unoficial phpMyAdmin 2.2.0.
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -19,6 +19,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__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,
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -19,6 +19,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$file = basename(__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.
|
||||
//
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$file = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$file = basename(__FILE__);
|
||||
|
@ -20,6 +20,8 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
//
|
||||
// Load default header
|
||||
//
|
||||
|
@ -20,6 +20,11 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
if ( !defined('IN_PHPBB') )
|
||||
{
|
||||
die("Hacking attempt");
|
||||
}
|
||||
|
||||
//
|
||||
// Show the overall footer.
|
||||
//
|
||||
|
@ -20,7 +20,12 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
define(HEADER_INC, TRUE);
|
||||
if ( !defined('IN_PHPBB') )
|
||||
{
|
||||
die("Hacking attempt");
|
||||
}
|
||||
|
||||
define('HEADER_INC', true);
|
||||
|
||||
//
|
||||
// gzip_compression
|
||||
|
@ -20,6 +20,11 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
if ( !defined('IN_PHPBB') )
|
||||
{
|
||||
die("Hacking attempt");
|
||||
}
|
||||
|
||||
define('IN_ADMIN', true);
|
||||
|
||||
$phpbb_root_path = "../";
|
||||
|
Loading…
x
Reference in New Issue
Block a user