first commit
This commit is contained in:
76
Lib/Config.asp.r2139
Normal file
76
Lib/Config.asp.r2139
Normal file
@@ -0,0 +1,76 @@
|
||||
<% @Language='vbscript' codepage='65001'%>
|
||||
|
||||
<!--METADATA TYPE= "typelib" NAME= "ADODB Type Library" FILE="C:\Program Files\Common Files\SYSTEM\ADO\msado15.dll" -->
|
||||
<%
|
||||
Option Explicit
|
||||
|
||||
Response.CharSet="utf-8"
|
||||
Session.codepage="65001"
|
||||
Response.codepage="65001"
|
||||
Response.ContentType="text/html;charset=utf-8"
|
||||
|
||||
'Survey DB 설정
|
||||
Dim SV_NAME,DB_NAME,UID,PWD
|
||||
Dim SV_NAME1,DB_NAME1,UID1,PWD1,SV_NAME2,DB_NAME2,UID2,PWD2
|
||||
Dim DBconn
|
||||
Dim SITENAME ' 사이트 URL
|
||||
Dim LOGINURL ' 로그인 URL
|
||||
Dim PROGRAMTITLE '페이지 타이틀
|
||||
Dim MAIL_SV,MAIL_ID,MAIL_PW '메일 설정 자료
|
||||
Dim SALT '암호화 도움키 *분실하거나 수정되면 안됨. - 비밀번호를 전부 재설정 해야함
|
||||
Dim BASIC_COL '설문 데이터의 시스템 컬럼 갯수
|
||||
Dim Local_IP : Local_IP = Request.ServerVariables("REMOTE_ADDR") '접속자 IP(사내용)
|
||||
|
||||
'//-------------------------------
|
||||
'//-- hwkim 2020-08-19 17:28:41
|
||||
Dim ip: ip = Request.ServerVariables("REMOTE_ADDR"): 'Response.Write ip
|
||||
Dim DevNode: DevNode = "real"
|
||||
|
||||
If( ip = "10.10.13.82" or ip = "10.10.13.115" or ip = "10.10.13.117" or ip = "10.10.13.118" or ip = "10.10.13.130" )Then
|
||||
DevNode = "dev"
|
||||
Else
|
||||
DevNode = "real"
|
||||
End if
|
||||
'-------------------------------//
|
||||
|
||||
DevNode = "real"
|
||||
|
||||
'#######################################################################################
|
||||
'DB 설정값 Read
|
||||
'#######################################################################################
|
||||
|
||||
|
||||
SV_NAME = "1.235.195.34"
|
||||
DB_NAME= "project2"
|
||||
UID = "sa"
|
||||
PWD = "krco#51304"
|
||||
|
||||
SV_NAME1 = "1.235.195.34"
|
||||
DB_NAME1= "project2"
|
||||
UID1 = "sa"
|
||||
PWD1 = "krco#51304"
|
||||
|
||||
If( DevNode = "dev" )then
|
||||
SV_NAME2 = "10.10.13.177,1313"
|
||||
DB_NAME2= "kon"
|
||||
UID2 = "kon"
|
||||
PWD2 = "kon#51304"
|
||||
Else
|
||||
SV_NAME2 = "1.235.195.8,20022"
|
||||
DB_NAME2= "kon"
|
||||
UID2 = "kon"
|
||||
PWD2 = "kon#51304"
|
||||
end if
|
||||
|
||||
|
||||
%>
|
||||
<!-- #include file = "./DBConn.asp" -->
|
||||
<!-- #include file = "./DBLib.asp" -->
|
||||
<!-- #include file = "./FileLib.asp" -->
|
||||
<!-- #include file = "./CAPICOM.asp" -->
|
||||
<!-- #include file = "./Func.asp" -->
|
||||
<!-- #include file = "./SiteFunc.asp" -->
|
||||
<!-- #include file = "./sha256.asp" -->
|
||||
<!-- #include file = "./md5.asp" -->
|
||||
<!-- #include file = "./aspJSON1.17.asp" -->
|
||||
<!-- #include file = "./JSON_2.0.4.asp" -->
|
||||
Reference in New Issue
Block a user