Fixing plugin option + locations subcommand.

This commit is contained in:
mark_story 2011-08-07 18:17:06 -04:00
parent a268eea24f
commit 95f3eb48f9

View file

@ -71,6 +71,10 @@ class UpgradeShell extends Shell {
public function locations() {
$cwd = getcwd();
if (!empty($this->params['plugin'])) {
chdir(App::pluginPath($this->params['plugin']));
}
if (is_dir('plugins')) {
$Folder = new Folder('plugins');