Replaced \$GLOBALS[config][IGNORE_SERVER_PORT] with generic \$GLOBALS[config][ACTUAL_SERVER_PORT]