Skip to content
Permalink
Browse files

Fixed plugin autoloader baking

  • Loading branch information...
lorenzo committed Jun 26, 2014
1 parent 3fd98f4 commit 6b8c16add608bf391b70daa3c740ec94b70c388a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Console/Command/Task/PluginTask.php
@@ -229,8 +229,8 @@ protected function _modifyAutoloader($plugin, $path) {
$file = $path . DS . 'composer.json';
$config = json_decode(file_get_contents($file), true);
$config['autoload']['psr-4'][$plugin . '\\'] = "./Plugin/$plugin/src";
$config['autoload']['psr-4'][$plugin . '\\Test\\'] = "./Plugin/$plugin/tests";
$config['autoload']['psr-4'][$plugin . '\\'] = "./plugins/$plugin/src";
$config['autoload']['psr-4'][$plugin . '\\Test\\'] = "./plugins/$plugin/tests";
$this->out(__d('cake_console', '<info>Modifying composer autoloader</info>'));

0 comments on commit 6b8c16a

Please sign in to comment.
You can’t perform that action at this time.