Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct path display for plugins.

Fixes #2548
  • Loading branch information...
commit f3b990bf0f65d25b53e1f9942f751796d0c875e7 1 parent d56cc43
@markstory markstory authored
View
2  lib/Cake/Console/Command/Task/ControllerTask.php
@@ -126,7 +126,7 @@ public function all() {
protected function _interactive() {
$this->interactive = true;
$this->hr();
- $this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->path));
+ $this->out(__d('cake_console', "Bake Controller\nPath: %s", $this->getPath()));
$this->hr();
if (empty($this->connection)) {
View
2  lib/Cake/Console/Command/Task/FixtureTask.php
@@ -137,7 +137,7 @@ public function all() {
protected function _interactive() {
$this->DbConfig->interactive = $this->Model->interactive = $this->interactive = true;
$this->hr();
- $this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->path));
+ $this->out(__d('cake_console', "Bake Fixture\nPath: %s", $this->getPath()));
$this->hr();
if (!isset($this->connection)) {
View
2  lib/Cake/Console/Command/Task/ModelTask.php
@@ -190,7 +190,7 @@ public function inOptions($options, $prompt = null, $default = null) {
*/
protected function _interactive() {
$this->hr();
- $this->out(__d('cake_console', "Bake Model\nPath: %s", $this->path));
+ $this->out(__d('cake_console', "Bake Model\nPath: %s", $this->getPath()));
$this->hr();
$this->interactive = true;
View
2  lib/Cake/Console/Command/Task/TestTask.php
@@ -94,7 +94,7 @@ protected function _interactive($type = null) {
$this->interactive = true;
$this->hr();
$this->out(__d('cake_console', 'Bake Tests'));
- $this->out(__d('cake_console', 'Path: %s', $this->path));
+ $this->out(__d('cake_console', 'Path: %s', $this->getPath()));
$this->hr();
if ($type) {
View
2  lib/Cake/Console/Command/Task/ViewTask.php
@@ -195,7 +195,7 @@ public function all() {
*/
protected function _interactive() {
$this->hr();
- $this->out(sprintf("Bake View\nPath: %s", $this->path));
+ $this->out(sprintf("Bake View\nPath: %s", $this->getPath()));
$this->hr();
$this->DbConfig->interactive = $this->Controller->interactive = $this->interactive = true;
Please sign in to comment.
Something went wrong with that request. Please try again.