Browse Source

Check if a plugin has been loaded previously.

Robert Pustułka 9 years ago
parent
commit
2c774fbbe9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Console/Shell.php

+ 1 - 1
src/Console/Shell.php

@@ -433,7 +433,7 @@ class Shell
             $this->params = array_merge($this->params, $extra);
         }
         $this->_setOutputLevel();
-        if (!empty($this->params['plugin'])) {
+        if (!empty($this->params['plugin']) && !Plugin::loaded($this->params['plugin'])) {
             Plugin::load($this->params['plugin']);
         }
         $this->command = $command;