mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
correcting global plugin path logic to match global vendors folder
This commit is contained in:
parent
ae628f7f72
commit
96cebeede9
1 changed files with 2 additions and 1 deletions
|
@ -632,7 +632,7 @@ class App extends Object {
|
|||
'locales' => array(APP . 'locale' . DS),
|
||||
'shells' => array(APP . 'vendors' . DS . 'shells' . DS, VENDORS . 'shells' . DS),
|
||||
'vendors' => array(APP . 'vendors' . DS, VENDORS),
|
||||
'plugins' => array(APP . 'plugins' . DS, CAKE_CORE_INCLUDE_PATH . DS . 'plugins' . DS),
|
||||
'plugins' => array(APP . 'plugins' . DS)
|
||||
);
|
||||
|
||||
if ($reset == true) {
|
||||
|
@ -709,6 +709,7 @@ class App extends Object {
|
|||
$paths['components'][] = $libs . 'controller' . DS . 'components' . DS;
|
||||
$paths['views'][] = $libs . 'view' . DS;
|
||||
$paths['helpers'][] = $libs . 'view' . DS . 'helpers' . DS;
|
||||
$paths['plugins'][] = $path . DS . 'plugins' . DS;
|
||||
$paths['vendors'][] = $path . DS . 'vendors' . DS;
|
||||
$paths['shells'][] = $cake . 'console' . DS . 'libs' . DS;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue