mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fix loading of plugins in the plugin directory
This commit is contained in:
parent
2e31816979
commit
ee70fe85c0
@ -86,7 +86,7 @@ namespace BTCPayServer.Plugins
|
||||
// Load from the plugins folder
|
||||
foreach (var directory in Directory.GetDirectories(pluginsFolder))
|
||||
{
|
||||
var pluginIdentifier = Path.GetDirectoryName(directory);
|
||||
var pluginIdentifier = Path.GetFileName(directory);
|
||||
var pluginFilePath = Path.Combine(directory, pluginIdentifier + ".dll");
|
||||
if (!File.Exists(pluginFilePath))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user