From: Geoffrey T. D. <da...@us...> - 2001-11-14 17:43:53
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv6122/lib Modified Files: loadsave.php Log Message: When loading pages from a directory, ignore file names starting with '.'. (Based on SF patch #480195 by Carsten Klapp.) Index: loadsave.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/loadsave.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** loadsave.php 2001/11/09 16:23:37 1.10 --- loadsave.php 2001/11/14 17:43:50 1.11 *************** *** 353,357 **** while ($fn = readdir($handle)) { ! if (filetype("$dir/$fn") != 'file') continue; --- 353,357 ---- while ($fn = readdir($handle)) { ! if ($fn[0] == '.' || filetype("$dir/$fn") != 'file') continue; |