rmoving path check from Folder::tree fixes issues with classes not beign found in App::import

This commit is contained in:
gwoo 2009-08-05 11:26:19 -04:00
parent 6775e0997e
commit 27437a808d

View file

@ -431,9 +431,6 @@ class Folder extends Object {
* @access public * @access public
*/ */
function tree($path, $exceptions = true, $type = null) { function tree($path, $exceptions = true, $type = null) {
if (!$this->pwd()) {
return array();
}
$original = $this->path; $original = $this->path;
$path = rtrim($path, DS); $path = rtrim($path, DS);
$this->__files = array(); $this->__files = array();