Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -81,7 +81,7 @@ class IPS
|
||||
$redisEnabled = FALSE;
|
||||
$outputCache = 'Database';
|
||||
$outputCacheConfig = NULL;
|
||||
$guestTimeout = 30;
|
||||
$guestTimeout = 900;
|
||||
|
||||
if ( isset( self::$cicConfig['guests']['guest_cache_timeout'] ) and self::$cicConfig['guests']['guest_cache_timeout'] and \is_numeric( self::$cicConfig['guests']['guest_cache_timeout'] ) )
|
||||
{
|
||||
@@ -128,12 +128,12 @@ class IPS
|
||||
}
|
||||
else
|
||||
{
|
||||
$uniqueKey = preg_match( '/^\/var\/www\/html\/(.+?)$/i', __DIR__, $matches ) ? str_replace( '/', '', $matches[1] ) : mb_substr( md5( '13_mafia' . '$Rev: 3023$'), 10, 10 );
|
||||
$uniqueKey = preg_match( '/^\/var\/www\/html\/(.+?)$/i', __DIR__, $matches ) ? str_replace( '/', '', $matches[1] ) : mb_substr( md5( 'nullcave' . '$Rev: 3023$'), 10, 10 );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$uniqueKey = mb_substr( md5( '13_mafia' . '$Rev: 3023$'), 10, 10 );
|
||||
$uniqueKey = mb_substr( md5( 'nullcave' . '$Rev: 3023$'), 10, 10 );
|
||||
}
|
||||
|
||||
// ==========================================================================================
|
||||
@@ -281,14 +281,14 @@ class IPS
|
||||
// rather than try to run it itself to prevent timing out
|
||||
'UPGRADE_MANUAL_THRESHOLD' => 250000, // More than this number of rows
|
||||
'UPGRADE_LARGE_TABLE_SIZE' => 100000000, // Bigger than this for what MySQL reports as "Data_length" in the table status (what the value means differs between MySQL and ISAM)
|
||||
|
||||
|
||||
// cURL settings
|
||||
// BY default, we use cURL if version 7.36 or above is installed, and fallback to using
|
||||
// socket connections if not. These can change that (usually used more for testing/debugging
|
||||
// than in real-world use)
|
||||
'BYPASS_CURL' => FALSE, // This will make cURL *never* be used, even if it's installed
|
||||
'FORCE_CURL' => FALSE, // This will make cURL be used even if it is a version less than 7.36 is installed (no effect if BYPASS_CURL is TRUE)
|
||||
|
||||
|
||||
// Default timeouts for cURL/socket requests
|
||||
// All values in seconds
|
||||
'DEFAULT_REQUEST_TIMEOUT' => 10, // Default where no other timeout is set
|
||||
@@ -406,6 +406,11 @@ class IPS
|
||||
// Throughout the code we call \IPS\Log::debug() with debug infotmation, but by default
|
||||
// this doesn't do anything. Turn this on to make that information get logged.
|
||||
'DEBUG_LOG' => FALSE,
|
||||
|
||||
// Enable debug on hooks?
|
||||
// By default, if a hook throws an exception, the exception is caught silently and the parent
|
||||
// method is executed. Turn this on to log those exceptions.
|
||||
'DEBUG_HOOKS' => FALSE,
|
||||
|
||||
// Enable logging of output headers?
|
||||
// Logs every header the server is sending (if supported by the server) for
|
||||
@@ -490,7 +495,7 @@ class IPS
|
||||
// CACHEBUST_KEY to be a "for reals, will change every release" one. DO NOT set a value
|
||||
// for it in constants.php
|
||||
'SUITE_UNIQUE_KEY' => $uniqueKey,
|
||||
'CACHEBUST_KEY' => mb_substr( md5( '13_mafia' . '$Rev: 3023$'), 10, 10 ),
|
||||
'CACHEBUST_KEY' => mb_substr( md5( 'nullcave' . '$Rev: 3023$'), 10, 10 ),
|
||||
|
||||
// Thumbnail size
|
||||
// This needs to be hardcoded rather than configurable because it's the smallest size that
|
||||
|
||||
Reference in new issue
Block a user