HOR-2101-B

This commit is contained in:
Luis Fernando Saisa Lopez
2016-11-22 11:47:41 -05:00
parent 7cfb651d98
commit ca0af8f9dd
3 changed files with 13 additions and 4 deletions

View File

@@ -339,6 +339,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']);
// 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'];