Skip to content

Commit

Permalink
Add absolute path to cake/vendors.
Browse files Browse the repository at this point in the history
When the app + cake are on different paths, `VENDORS` is incorrect, and
the built-in repo/vendors directory is not reachable by the default
paths.

Fixes #2545
  • Loading branch information
markstory committed Feb 5, 2012
1 parent 4bb4040 commit f799d1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Cake/Core/App.php
Expand Up @@ -861,7 +861,9 @@ protected static function _packageFormat() {
'%s' . 'locale' . DS
),
'Vendor' => array(
'%s' . 'Vendor' . DS, VENDORS
'%s' . 'Vendor' . DS,
dirname(dirname(CAKE)) . DS . 'vendors' . DS,
VENDORS
),
'Plugin' => array(
APP . 'Plugin' . DS,
Expand Down

0 comments on commit f799d1c

Please sign in to comment.