Permalink
Browse files

Use $this->bootstrap.

$this->boostrap makes the output match the file changed.
  • Loading branch information...
1 parent d5cf276 commit 3c824b586fb88608b53e464f3c4c433b22be7064 @markstory markstory committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/Task/PluginTask.php
@@ -176,7 +176,7 @@ protected function _modifyBootstrap($plugin) {
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));
}
}

0 comments on commit 3c824b5

Please sign in to comment.