개정판 1ed8da93
issue #1187: fixed MARKUS.ini for SNI
Change-Id: I37db1a085a2b994e8d36485150040025da0418f2
KCOM/App.xaml.cs | ||
---|---|---|
100 | 100 |
|
101 | 101 |
protected override async void OnStartup(StartupEventArgs e) |
102 | 102 |
{ |
103 |
|
|
104 | 103 |
try |
105 | 104 |
{ |
106 |
|
|
107 |
|
|
108 | 105 |
splashScreen.Show(); |
109 | 106 |
|
110 | 107 |
/// create log database and table |
... | ... | |
129 | 126 |
if (hostEntry == null) |
130 | 127 |
{ |
131 | 128 |
System.Diagnostics.Debug.WriteLine("(hostEntry == null"); |
132 |
App.FileLogger.Fatal("hostEntry == null");
|
|
129 |
App.FileLogger.Debug("hostEntry == null");
|
|
133 | 130 |
isExternal = true; |
134 | 131 |
} |
135 | 132 |
else if (!hostEntry.HostName.EndsWith(localdomain)) |
136 | 133 |
{ |
137 | 134 |
// 외부 사용자 |
138 |
App.FileLogger.Fatal("hostEntry != localdomain :" + hostEntry.HostName);
|
|
135 |
App.FileLogger.Debug(string.Format("You are external user because located out side of given domain({0})\nYour domain is {1}", localdomain, hostEntry.HostName));
|
|
139 | 136 |
isExternal = true; |
140 | 137 |
} |
141 | 138 |
#endregion |
142 |
//splash.Show(false, false); |
|
143 | 139 |
|
144 | 140 |
if (e.Args.Count() > 0) |
145 | 141 |
{ |
... | ... | |
164 | 160 |
string[] strArg = Environment.GetCommandLineArgs(); |
165 | 161 |
if (strArg.Length > 1) |
166 | 162 |
{ |
167 |
//label1.Text = strArg[1]; |
|
168 |
|
|
169 | 163 |
var result = ParamDecoding(strArg[1].Replace(@"kcom://", "").Replace(@"/", "")); |
170 | 164 |
App.ViewInfo = new IKCOM.ViewInfo |
171 | 165 |
{ |
... | ... | |
182 | 176 |
}; |
183 | 177 |
ParameterMode = true; |
184 | 178 |
} |
179 |
else |
|
180 |
{ |
|
181 |
MessageBox.Show("문서 정보가 입력되지 않았습니다.\n프로그램이 종료됩니다.", "안내"); |
|
182 |
throw new ArgumentException("문서 정보가 입력되지 않았습니다."); |
|
183 |
} |
|
185 | 184 |
} |
186 | 185 |
|
187 | 186 |
//App.ViewInfo.CreateFinalPDFPermission = false; |
... | ... | |
212 | 211 |
|
213 | 212 |
await SplashScreenAsnyc(); |
214 | 213 |
base.OnStartup(e); |
215 |
|
|
216 |
//this.MainWindow = new MainWindow(); |
|
217 |
|
|
218 | 214 |
} |
219 | 215 |
catch (Exception ex) |
220 | 216 |
{ |
... | ... | |
262 | 258 |
try |
263 | 259 |
{ |
264 | 260 |
App.FileLogger.Fatal(e.ExceptionObject as Exception); |
265 |
//App.DBLogger.Fatal(e.ExceptionObject as Exception); |
|
266 | 261 |
} |
267 | 262 |
catch (Exception ex) |
268 | 263 |
{ |
Site/SNI/MARKUS.ini | ||
---|---|---|
25 | 25 |
[Debug_BaseClientAddress] |
26 | 26 |
URL=http://10.11.132.77:5978 |
27 | 27 |
[HOST_DOMAIN] |
28 |
; 도멘인 접속 여부에 따라 내/외부를 구분한다
|
|
28 |
; 도메인 접속 여부에 따라 내/외부를 구분한다
|
|
29 | 29 |
DOMAIN=sdms.co.kr |
30 | 30 |
[GetConversionStateFailed] |
31 |
MSG=VG9vIE1hbnkgVi9QIEZpbGVzIGFyZSB1cGxvYWRpbmcgaW5zdGFudGFuZW91c2x5LCBUaGlzIFYvUCBmaWxlIGNhbiBub3QgYmUgb3BlbiBub3cuIFBsZWFzZSBmZWVsIGZyZWUgdG8gcmUtb3BlbiB3YWl0IGEgbW9tZW50IGFnYWluIVxuXG7tmITsnqwg7J287Iuc7KCB7Jy866GcIOunjuydgCDslpHsnZggVi9Q6rCAIOuTseuhneuQmOqzoCDsnojslrQg7J20IOusuOyEnOulvCDsl7TrnoztlaAg7IiYIOyXhuyKteuLiOuLpC5cbuyeoOyLnOunjCDquLDri6TroKQg7KO87IugIO2bhCDri6Tsi5wg7Je0656M7ZWY7JesIOyjvOyLnOq4sCDrsJTrno3ri4jri6RcblxuQ29udGFjdCBQb2ludCA6IFlPVSwgU3VuZy1IbyAoMDItMzY5LTU2NDMpXHJcbuyXsOudveyymDog7Jyg7ISx7Zi4IOu2gOyepSgwMiAtIDM2OSAtIDU2MzQp
|
|
31 |
MSG=VG9vIE1hbnkgVi9QIEZpbGVzIGFyZSB1cGxvYWRpbmcgaW5zdGFudGFuZW91c2x5LCBUaGlzIFYvUCBmaWxlIGNhbiBub3QgYmUgb3BlbiBub3cuIFBsZWFzZSBmZWVsIGZyZWUgdG8gcmUtb3BlbiB3YWl0IGEgbW9tZW50IGFnYWluIVxuXG7tmITsnqwg7J287Iuc7KCB7Jy866GcIOunjuydgCDslpHsnZggVi9Q6rCAIOuTseuhneuQmOqzoCDsnojslrQg7J20IOusuOyEnOulvCDsl7TrnoztlaAg7IiYIOyXhuyKteuLiOuLpC5cbuyeoOyLnOunjCDquLDri6TroKQg7KO87IugIO2bhCDri6Tsi5wg7Je0656M7ZWY7JesIOyjvOyLnOq4sCDrsJTrno3ri4jri6RcblxuQ29udGFjdCBQb2ludCA6IA==
|
|
32 | 32 |
[SetFinalPDFError] |
33 | 33 |
MSG=7LWc7KKFIO2MjOydvOydhCDrp4zrk5zripTrjbAg66y47KCc6rCAIOuwnOyDne2VmOyYgOyKteuLiOuLpA== |
34 | 34 |
[SetFinalPDFSuccess] |
... | ... | |
43 | 43 |
RESOURCE=5977:5977 |
44 | 44 |
BASE=5978:5978 |
45 | 45 |
[GetImageResourceFailed] |
46 |
MSG=7ZW064u5IOusuOyEnOydmCB7MH0gUGFnZSBDb252ZXJ06rCAIOygleyDgeyggeydtOyngCDslYrsirXri4jri6QuIOq0gOumrOyekOyXkOqyjCDrrLjsnZjtlbQg7KO87IS47JqULg== |
|
46 |
MSG=7ZW064u5IOusuOyEnOydmCB7MH0gUGFnZSBDb252ZXJ06rCAIOygleyDgeyggeydtOyngCDslYrsirXri4jri6QuIOq0gOumrOyekOyXkOqyjCDrrLjsnZjtlbQg7KO87IS47JqULg== |
내보내기 Unified diff