Fix plugins not being loaded before looking for pluign paths

This commit is contained in:
Graham Weldon 2011-11-15 17:30:49 +11:00
parent a821723347
commit eefdc43214

View file

@ -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)