BUG 8875 "Feature: New ExtJS based for Install, Login & Main Proces..." UPDATED
IIS Global var compatibility FIXED - Basically $_SERVER[SERVER_ADDR] does not exist on IIS - It was fixed adding a routine to valodate and set it
This commit is contained in:
@@ -93,6 +93,9 @@
|
||||
}
|
||||
// end permissions verification
|
||||
|
||||
// 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'];
|
||||
|
||||
//to do: make different environments. sys
|
||||
|
||||
define ('ERROR_SHOW_SOURCE_CODE', true); // enable ERROR_SHOW_SOURCE_CODE to display the source code for any WARNING OR NOTICE
|
||||
|
||||
Reference in New Issue
Block a user