From 3c824b586fb88608b53e464f3c4c433b22be7064 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 18 Jun 2012 21:38:08 -0400 Subject: [PATCH] Use $this->bootstrap. $this->boostrap makes the output match the file changed. --- lib/Cake/Console/Command/Task/PluginTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Console/Command/Task/PluginTask.php b/lib/Cake/Console/Command/Task/PluginTask.php index 90d5474ac..2f972b68d 100644 --- a/lib/Cake/Console/Command/Task/PluginTask.php +++ b/lib/Cake/Console/Command/Task/PluginTask.php @@ -176,7 +176,7 @@ class PluginTask extends AppShell { if (!preg_match("@\n\s*CakePlugin::loadAll@", $contents)) { $bootstrap->append("\nCakePlugin::load('$plugin', array('bootstrap' => false, 'routes' => false));\n"); $this->out(''); - $this->out(__d('cake_dev', '%s modified', APP . 'Config' . DS . 'bootstrap.php')); + $this->out(__d('cake_dev', '%s modified', $this->bootstrap)); } }