aboutsummaryrefslogtreecommitdiff
path: root/cli/Commands/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'cli/Commands/Plugins')
-rw-r--r--cli/Commands/Plugins/PluginInfo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/Commands/Plugins/PluginInfo.php b/cli/Commands/Plugins/PluginInfo.php
index 9809b13..c8f9748 100644
--- a/cli/Commands/Plugins/PluginInfo.php
+++ b/cli/Commands/Plugins/PluginInfo.php
@@ -65,11 +65,11 @@ class PluginInfo extends AbstractPluginCommand
private function pluginClassExists(string $plugindir, array $plugin)
{
- $pluginfile = $plugindir . $plugin['class'] . '.class.php';
+ $pluginfile = $plugindir . $plugin['class'] . '.php';
if (file_exists($pluginfile)) {
return 1;
} else {
- $pluginfile = $plugindir . $plugin['class'] . '.php';
+ $pluginfile = $plugindir . $plugin['class'] . '.class.php';
if (file_exists($pluginfile)) {
return 1;
}