Changeset 12643
- Timestamp:
- Nov 17, 2011, 7:10:51 PM (12 years ago)
- Location:
- branches/2.3/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/admin/include/functions.php
r12641 r12643 534 534 while (($node = readdir($contents)) !== false) 535 535 { 536 if (is_dir($path.'/'.$node) 537 and $node != '.' 536 if ($node != '.' 538 537 and $node != '..' 539 538 and $node != '.svn' 540 539 and $node != 'thumbnail' 541 540 and $node != 'pwg_high' 542 and $node != 'pwg_representative') 541 and $node != 'pwg_representative' 542 and is_dir($path.'/'.$node)) 543 543 { 544 544 array_push($dirs, $path.'/'.$node); -
branches/2.3/admin/site_reader_local.php
r10157 r12643 85 85 while (($node = readdir($contents)) !== false) 86 86 { 87 if ($node == '.' or $node == '..') continue; 88 87 89 if (is_file($path.'/'.$node)) 88 90 { … … 99 101 } 100 102 elseif (is_dir($path.'/'.$node) 101 and $node != '.'102 and $node != '..'103 103 and $node != 'pwg_high' 104 104 and $node != 'pwg_representative'
Note: See TracChangeset
for help on using the changeset viewer.