Changeset 237

Show
Ignore:
Timestamp:
09/10/07 15:02:57 (1 year ago)
Author:
mrook
Message:

Fix errors in basedir check

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/phing/tasks/ext/ZipTask.php

    r227 r237  
    119119                } 
    120120                 
    121                 if (0 == count($this->fileset)) 
     121                if (empty($this->filesets)) 
    122122                { 
    123123                        // add the main fileset to the list of filesets to process. 
    124                         $mainFileSet = new FileSet($this->fileset); 
     124                        $mainFileSet = new ZipFileSet($this->fileset); 
    125125                        $mainFileSet->setDir($this->baseDir); 
    126126                        $this->filesets[] = $mainFileSet;