the correct argument for plugins is infact "plugins"

This commit is contained in:
AD7six 2011-05-15 19:28:17 +02:00
parent 56c6e35437
commit a199e72610

View file

@ -41,7 +41,7 @@ class PluginTask extends Shell {
* @return void
*/
function initialize() {
$this->path = current(App::path('Plugin'));
$this->path = current(App::path('plugins'));
}
/**
@ -94,7 +94,7 @@ class PluginTask extends Shell {
$this->findPath($pathOptions);
}
$this->hr();
$this->out(__d('cake_console', "<info>Plugin Name:</info> %s", $plugin));
$this->out(__d('cake_console', "<info>Plugin Name:</info> %s", $plugin));
$this->out(__d('cake_console', "<info>Plugin Directory:</info> %s", $this->path . $pluginPath));
$this->hr();