Add CAKE directory fallthrough for plugins/vendors

Fixes issue #6124.
This commit is contained in:
Dave Hensley 2015-03-20 17:35:19 -04:00
parent 744952e344
commit 0003296f42

View file

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