Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

+41 -33
View File
@@ -3,17 +3,17 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* INIT File - Sets up globals
* Last Updated: $Date: 2010-10-27 17:31:21 -0400 (Wed, 27 Oct 2010) $
* Last Updated: $Date: 2011-09-13 21:55:41 -0400 (Tue, 13 Sep 2011) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2008 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 7058 $
* @link http://hatynka.in
* @version $Rev: 9487 $
*
*/
@@ -55,7 +55,7 @@ if ( ! defined( 'IPS_DEFAULT_PUBLIC_APP' ) )
*/
if ( ! defined( 'IPS_PUBLIC_SCRIPT' ) )
{
define( 'IPS_PUBLIC_SCRIPT', basename( $_SERVER['SCRIPT_NAME'] ) );
define( 'IPS_PUBLIC_SCRIPT', strtolower( basename( $_SERVER['SCRIPT_NAME'] ) ) );
}
//--------------------------------------------------------------------------
@@ -126,28 +126,6 @@ if ( ! defined( 'IPS_DEFAULT_APP' ) )
// ADVANCED CONFIGURATION: DEBUG
//--------------------------------------------------------------------------
/**
* Making FURL Transliteration for russian forums
* @since 3.0.0.ru
*/
define( 'IPB_USE_SEO_TRANSLIT', FALSE );
define( 'IPB_USE_ONLY_ID_FURL', FALSE );
/**
* TOPIC MARKING DEBUG MODE
*
* Turns on topic marking debugging mode. This is NOT recommended
* in a production environment due to additional writes
* @since 2.2.0.2006-11-06
*/
define( 'IPS_TOPICMARKERS_DEBUG', FALSE );
/* Enter any groups or member IDs you want to trace like:
* groups=4,1&ids=345,32,65
*/
define( 'IPS_TOPICMARKERS_TRACE', '' );
/**
* E_NOTICE / E_ALL Debug mode
* Can capture and / or log php errors to a file (cache/phpNotices.cgi)
@@ -155,17 +133,26 @@ define( 'IPS_TOPICMARKERS_TRACE', '' );
* define( 'IPS_ERROR_CAPTURE', 'classItemMarking,publicSessions' );
* Set to 'FALSE' for off
*/
define( 'IPS_ERROR_CAPTURE', FALSE );//'classItemMarking,publicSessions' );
define( 'IPS_ERROR_CAPTURE', false );//'classItemMarking,publicSessions' );
/**
* SQL DEBUG MODE
*
* Turns on SQL debugging mode. This is NOT recommended
* Turns on SQL debugging mode to review queries on the board. This is NOT recommended
* as it opens your board up to potential security risks
* @since 2.2.0.2006-11-06
*/
define( 'IPS_SQL_DEBUG_MODE', 0 );
/**
* SQL DEBUG MODE LOGGING
*
* Turns on SQL debugging mode which logs all SQL to cache/. This is NOT recommended
* as it opens your board up to potential security risks
* @since 2.2.0.2006-11-06
*/
define( 'IPS_SQL_DEBUG_LOG', 0 );
/**
* SQL LOG FILESORT or TEMP TABLES MODE
*
@@ -249,6 +236,14 @@ else
// ADVANCED CONFIGURATION: MISC
//--------------------------------------------------------------------------
/**
* Making FURL Transliteration for russian forums
* @since 3.0.0.ru
*/
define( 'IPB_USE_SEO_TRANSLIT', FALSE );
define( 'IPB_USE_ONLY_ID_FURL', FALSE );
/**
* USE SHUT DOWN
*
@@ -264,6 +259,12 @@ define( 'IPS_USE_SHUTDOWN', IPS_AREA == 'public' ? 1 : 0 );
*/
define( 'IPS_ALLOW_UNICODE', 1 );
/**
* File and folder permissions
*/
define( 'IPS_FILE_PERMISSION', 0777 );
define( 'IPS_FOLDER_PERMISSION', 0777 );
/**
* Time now stamp
*/
@@ -343,7 +344,14 @@ if ( @function_exists("set_time_limit") == 1 and SAFE_MODE_ON == 0 )
*/
if ( function_exists( 'date_default_timezone_set' ) )
{
date_default_timezone_set( 'UTC' );
if ( ! @date_default_timezone_get() )
{
date_default_timezone_set( @ini_get('date.timezone') ? ini_get('date.timezone') : 'UTC' );
}
else
{
date_default_timezone_set( 'UTC' );
}
}
//--------------------------------------------------------------------------
@@ -390,7 +398,7 @@ if (!function_exists('json_encode'))
{
function json_encode( $a, $flag=null )
{
require_once( IPS_KERNEL_PATH . 'PEAR/JSON/JSON.php' );
require_once( IPS_KERNEL_PATH . 'PEAR/JSON/JSON.php' );/*noLibHook*/
$json = new Services_JSON();
@@ -409,7 +417,7 @@ if (!function_exists('json_decode'))
{
function json_decode( $a, $assoc=false )
{
require_once( IPS_KERNEL_PATH . 'PEAR/JSON/JSON.php' );
require_once( IPS_KERNEL_PATH . 'PEAR/JSON/JSON.php' );/*noLibHook*/
if ( $assoc === TRUE )
{