mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fix plugins not being loaded before looking for pluign paths
This commit is contained in:
parent
a821723347
commit
eefdc43214
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ class UpgradeShell extends Shell {
|
|||
$plugins = App::objects('plugin');
|
||||
$pluginHelpers = array();
|
||||
foreach ($plugins as $plugin) {
|
||||
CakePlugin::load($plugin);
|
||||
$pluginHelpers = array_merge(
|
||||
$pluginHelpers,
|
||||
App::objects('helper', App::pluginPath($plugin) . DS . 'views' . DS . 'helpers' . DS, false)
|
||||
|
|
Loading…
Add table
Reference in a new issue