예제 #1
0
 /**
  * Returns true if the current file or directory is below the path, or if
  * traversal is allowed outside the path. Returns false otherwise.
  * 
  * @param SplFileInfo $fileInfo
  * @return boolean
  */
 protected function checkPath(SplFileInfo $fileInfo)
 {
     if ($this->adapter->checkPath($fileInfo)) {
         return true;
     }
     return $this->parents;
 }