diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-03-06 01:07:59 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2022-03-06 01:07:59 +0100 |
commit | ad83d1dafac62bb28fda004f86129319a5c3e2ca (patch) | |
tree | dcf119ae4159dcd13c5c3651e54b92e3f7cd4f80 /src/PluginLoader.php | |
parent | b2a86c7df7d5a473e80034832a01b21444fa50e6 (diff) |
Refactor fixes
Diffstat (limited to 'src/PluginLoader.php')
-rw-r--r-- | src/PluginLoader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PluginLoader.php b/src/PluginLoader.php index c8da5fd..b2ac61d 100644 --- a/src/PluginLoader.php +++ b/src/PluginLoader.php @@ -22,7 +22,7 @@ class PluginLoader $pluginDirectories = $utilities->scandir($pluginsDirectoryPath); foreach ($pluginDirectories as $directory) { - $pluginClass = 'FlatFileForms\\Plugins\\' . $directory . '\\Plugin'; + $pluginClass = 'FlatFileForms\\Plugins\\' . basename($directory) . '\\Plugin'; $plugin = new $pluginClass(); } } |