소스 검색

Auto-reseed Abacus key from machine env

master
nano 5 일 전
부모
커밋
e5b9679484
1개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. +8
    -4
      core/helpers.asp

+ 8
- 4
core/helpers.asp 파일 보기

@@ -78,7 +78,7 @@ Public Function GetEnvironmentValue(name)
End Function

Public Function GetSecureSetting(key, envName)
Dim value
Dim value, envValue

value = Trim(CStr(GetAppSetting(key)))
If Len(value) > 0 And LCase(value) <> "nothing" Then
@@ -86,9 +86,13 @@ Public Function GetSecureSetting(key, envName)
Exit Function
End If

value = Trim(CStr(GetEnvironmentValue(envName)))
If Len(value) > 0 Then
GetSecureSetting = value
envValue = Trim(CStr(GetEnvironmentValue(envName)))
If Len(envValue) > 0 Then
On Error Resume Next
UpdateAppSetting key, envValue
Err.Clear
On Error GoTo 0
GetSecureSetting = envValue
Exit Function
End If



불러오는 중...
취소
저장

Powered by TurnKey Linux.