This commit is contained in:
Paula V. Quispe
2016-12-06 10:58:25 -05:00
parent 157b65aea5
commit 4c82fb5dd5
5 changed files with 88 additions and 8 deletions

View File

@@ -340,8 +340,8 @@ define( 'MEMCACHED_SERVER', $config['memcached_server'] );
define ('WS_IN_LOGIN', isset($config['WS_IN_LOGIN']) ? $config['WS_IN_LOGIN'] : 'serverconf');
define('LOAD_HEADERS_IE', $config['load_headers_ie']);
define('LEAVE_CASE_WARNING', $config['leave_case_warning']);
define('REDIRECT_TO_MOBILE', $config['redirect_to_mobile']);
// IIS Compatibility, SERVER_ADDR doesn't exist on that env, so we need to define it.
$_SERVER['SERVER_ADDR'] = isset( $_SERVER['SERVER_ADDR'] ) ? $_SERVER['SERVER_ADDR'] : $_SERVER['SERVER_NAME'];