Version 3.4.9

This commit is contained in:
Neo committed 2025-12-19 00:44:43 -08:00
1 parent c603205a25
commit f9e857d255
920 files changed
+28189 -6840

No files matched your search

+19 -9
View File
@@ -3,24 +3,23 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.8
* IP.Board v3.4.9
* INIT File - Sets up globals
* Last Updated: $Date: 2013-05-20 16:38:23 -0400 (Mon, 20 May 2013) $
* Last Updated: $Date: 2015-12-28 11:27:19 -0500 (Mon, 28 Dec 2015) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: mark $
* @copyright (c) 2001 - 2008 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 12261 $
* @version $Rev: 12688 $
*
*/
// Get constants.php if it exists - this can be used to
// override any of the constants defined in this file without
// being overwritten when IP.Board is updated
if ( is_file( dirname( __FILE__ ) . '/constants.php' ) )
{
require_once( dirname( __FILE__ ) . '/constants.php' );/*noLibHook*/
@@ -380,11 +379,22 @@ if ( ! defined( 'MIN_PHP_VERS' ) )
// ADVANCED CONFIGURATION: MAGIC QUOTES
//--------------------------------------------------------------------------
@set_magic_quotes_runtime(0);
if ( ! defined( 'IPS_MAGIC_QUOTES' ) )
/* Magic quotes was removed in PHP 5.4 */
if ( version_compare( phpversion(), '5.4.0' ) === 1 )
{
define( 'IPS_MAGIC_QUOTES', @get_magic_quotes_gpc() );
if ( ! defined( 'IPS_MAGIC_QUOTES' ) )
{
define( 'IPS_MAGIC_QUOTES', 0 );
}
}
else
{
@set_magic_quotes_runtime(0);
if ( ! defined( 'IPS_MAGIC_QUOTES' ) )
{
define( 'IPS_MAGIC_QUOTES', @get_magic_quotes_gpc() );
}
}
//--------------------------------------------------------------------------