update 20241125
This commit is contained in:
@@ -7,6 +7,7 @@ using System.Configuration;
|
||||
using Database;
|
||||
using System.Net.Http;
|
||||
using System.ComponentModel;
|
||||
using SecuringWebApiUsingApiKey.Middleware;
|
||||
|
||||
namespace API_NetFramework.Models
|
||||
{
|
||||
@@ -18,7 +19,7 @@ namespace API_NetFramework.Models
|
||||
{
|
||||
if (Logging.Logging.IntLogLevel == "")
|
||||
{
|
||||
string connectionstring = ConfigurationManager.ConnectionStrings["EDOKAConnectionstring"].ConnectionString;
|
||||
string connectionstring = StringCipher.Decrypt(ConfigurationManager.ConnectionStrings["EDOKAConnectionstring"].ConnectionString, "i%!k!7pab%bNLdA5hE4pkR4XaB%E^jB3d9tHuQ4pbF&BZjF7SB#WBWit5#HrbJiLrLVm");
|
||||
DB db = new DB(connectionstring);
|
||||
db.Get_Tabledata("Select * from nlog_parameter where id=3", false, true);
|
||||
Logging.Logging.IntLogLevel = db.dsdaten.Tables[0].Rows[0]["LogLevel"].ToString();
|
||||
|
||||
Reference in New Issue
Block a user