Changeset 8767
- Timestamp:
- 05/04/08 13:47:08 (5 months ago)
- Files:
-
- branches/1.1/lib/util/sfFinder.class.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/util/sfFinder.class.php
r8391 r8767 393 393 } 394 394 395 $dir = realpath($dir); 396 395 397 if (is_link($dir) && !$this->follow_link) 396 398 { … … 424 426 if (($this->type == 'directory' || $this->type == 'any') && ($depth >= $this->mindepth) && !$this->is_discarded($dir, $entryname) && $this->match_names($dir, $entryname) && $this->exec_ok($dir, $entryname)) 425 427 { 426 $files[] = realpath($current_entry);428 $files[] = $current_entry; 427 429 } 428 430 … … 439 441 if ($this->sort == 'type') 440 442 { 441 $temp_files[] = realpath($current_entry);443 $temp_files[] = $current_entry; 442 444 } 443 445 else 444 446 { 445 $files[] = realpath($current_entry);447 $files[] = $current_entry; 446 448 } 447 449 } … … 456 458 if (($this->type == 'directory' || $this->type == 'any') && ($depth >= $this->mindepth) && !$this->is_discarded($dir, $entryname) && $this->match_names($dir, $entryname) && $this->exec_ok($dir, $entryname)) 457 459 { 458 $files[] = realpath($current_entry);460 $files[] = $current_entry; 459 461 } 460 462