mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
de255aebb6
commit
aec0241a4c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue