Update of /cvsroot/phpwiki/phpwiki/admin
In directory usw-pr-cvs1:/tmp/cvs-serv2855/admin
Modified Files:
Tag: release-1_2-branch
loadserial.php
Log Message:
When loading pages from a directory, ignore file names starting
with '.'. (Based on SF patch #480195 by Carsten Klapp.)
Index: loadserial.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/admin/Attic/loadserial.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** loadserial.php 2001/02/14 06:32:19 1.1.2.1
--- loadserial.php 2001/11/14 17:42:01 1.1.2.2
***************
*** 20,24 ****
while ($file = readdir($handle)) {
! if ($file == "." || $file == "..")
continue;
--- 20,24 ----
while ($file = readdir($handle)) {
! if ($file[0] == ".")
continue;
|