This commit is contained in:
Roly Rudy Gutierrez Pinto
2016-12-02 14:14:18 -04:00
parent 26e9d3a687
commit d1a7a0559c
3 changed files with 16 additions and 0 deletions

View File

@@ -341,6 +341,8 @@ define ('WS_IN_LOGIN', isset($config['WS_IN_LOGIN']) ? $config['WS_IN_LOGIN'] :
define('LOAD_HEADERS_IE', $config['load_headers_ie']);
define('LEAVE_CASE_WARNING', $config['leave_case_warning']);
// 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'];