mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Remove DB and Directory settings out of the BTCPayServerOptions (#2168)
This commit is contained in:
@@ -5,6 +5,7 @@ using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using BTCPayServer.Abstractions.Contracts;
|
||||
using BTCPayServer.Configuration;
|
||||
using McMaster.NETCore.Plugins;
|
||||
@@ -27,7 +28,7 @@ namespace BTCPayServer.Plugins
|
||||
IConfiguration config, ILoggerFactory loggerFactory)
|
||||
{
|
||||
_logger = loggerFactory.CreateLogger(typeof(PluginManager));
|
||||
var pluginsFolder = config.GetPluginDir(DefaultConfiguration.GetNetworkType(config));
|
||||
var pluginsFolder = new DataDirectories(config).PluginDir;
|
||||
var plugins = new List<IBTCPayServerPlugin>();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user