fixing undefined paths variable in console

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7029 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-05-23 15:17:13 +00:00
parent 88b16a1d6c
commit df5fd8160f

View file

@ -264,6 +264,8 @@ class ShellDispatcher {
$this->help(); $this->help();
} else { } else {
$loaded = false; $loaded = false;
$paths = array();
if ($plugin !== null) { if ($plugin !== null) {
$pluginPaths = Configure::read('pluginPaths'); $pluginPaths = Configure::read('pluginPaths');
$count = count($pluginPaths); $count = count($pluginPaths);