Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
+48
-4
@@ -3,9 +3,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* IP.Board v3.4.5
|
||||
* INIT File - Sets up globals
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* Last Updated: $Date: 2013-05-20 16:38:23 -0400 (Mon, 20 May 2013) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
@@ -13,7 +13,7 @@
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 10914 $
|
||||
* @version $Rev: 12261 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -64,12 +64,27 @@ if ( ! defined( 'IPS_DEFAULT_PUBLIC_APP' ) )
|
||||
define( 'IPS_DEFAULT_PUBLIC_APP', 'forums' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Set is-shell if sapi name is cli
|
||||
*/
|
||||
if( php_sapi_name() == "cli" && !defined('IPS_IS_SHELL') )
|
||||
{
|
||||
define( 'IPS_IS_SHELL', true );
|
||||
}
|
||||
|
||||
/**
|
||||
* PUBLIC SCRIPT
|
||||
*/
|
||||
if ( ! defined( 'IPS_PUBLIC_SCRIPT' ) )
|
||||
{
|
||||
define( 'IPS_PUBLIC_SCRIPT', strtolower( basename( $_SERVER['SCRIPT_NAME'] ) ) );
|
||||
if ( defined( 'IPS_IS_SHELL' ) and IPS_IS_SHELL === TRUE )
|
||||
{
|
||||
define( 'IPS_PUBLIC_SCRIPT', 'index.php' );
|
||||
}
|
||||
else
|
||||
{
|
||||
define( 'IPS_PUBLIC_SCRIPT', strtolower( basename( $_SERVER['SCRIPT_NAME'] ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
@@ -128,6 +143,25 @@ if ( !defined( 'IPS_HOOKS_PATH' ) )
|
||||
define( 'IPS_HOOKS_PATH' , DOC_IPS_ROOT_PATH . 'hooks/' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Cache path before settings are loaded
|
||||
*/
|
||||
if( !defined( 'IPS_TEMP_CACHE_PATH' ) )
|
||||
{
|
||||
define( 'IPS_TEMP_CACHE_PATH', DOC_IPS_ROOT_PATH );
|
||||
}
|
||||
|
||||
# Allow to override path for furlCache.php and globalCaches.php
|
||||
if( !defined( 'FURL_CACHE_PATH' ) )
|
||||
{
|
||||
define( 'FURL_CACHE_PATH', DOC_IPS_ROOT_PATH . 'cache/furlCache.php' );
|
||||
}
|
||||
|
||||
if( !defined( 'GLOBAL_CACHE_PATH' ) )
|
||||
{
|
||||
define( 'GLOBAL_CACHE_PATH', DOC_IPS_ROOT_PATH . 'cache/globalCaches.php' );
|
||||
}
|
||||
|
||||
@set_include_path( @get_include_path() . PATH_SEPARATOR . IPS_KERNEL_PATH );
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
@@ -295,6 +329,14 @@ else
|
||||
// ADVANCED CONFIGURATION: MISC
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Making FURL Transliteration for russian forums
|
||||
* @since 3.0.0.ru
|
||||
*/
|
||||
define( 'IPB_USE_SEO_TRANSLIT', TRUE );
|
||||
|
||||
define( 'IPB_USE_ONLY_ID_FURL', FALSE );
|
||||
|
||||
/**
|
||||
* USE SHUT DOWN
|
||||
*
|
||||
@@ -508,4 +550,6 @@ function IPS_exception_error( $error )
|
||||
exit();
|
||||
}
|
||||
|
||||
mb_internal_encoding('UTF-8');
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user