Make global paths for vendors and plugins based on ROOT.

Using CAKE means that composer installed CakePHP will generate incorrect
'global' paths.

Refs #5838
This commit is contained in:
mark_story 2015-02-26 12:49:04 -05:00
parent de255aebb6
commit aec0241a4c

View file

@ -874,11 +874,11 @@ class App {
),
'Vendor' => array(
'%s' . 'Vendor' . DS,
dirname(dirname(CAKE)) . DS . 'vendors' . DS,
ROOT . DS . 'vendors' . DS,
),
'Plugin' => array(
APP . 'Plugin' . DS,
dirname(dirname(CAKE)) . DS . 'plugins' . DS
ROOT . DS . 'plugins' . DS
)
);
}