Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 12 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | 9 | ||
10 | foreach ($files as $file) { |
10 | foreach ($files as $file) { |
11 | 11 | ||
12 | $file = substr($file, strlen(__DIR__.'/../')); |
12 | $file = substr($file, strlen(__DIR__.'/../')); |
13 | 13 | ||
- | 14 | if (strpos($file,'__') === 0) continue; |
|
- | 15 | if (strpos($file, ".raw.") !== false) continue; |
|
- | 16 | ||
14 | file_put_contents('../test_sitemap.htm','<a href="'.$file.'">'.$file.'</a><br>'."\n", FILE_APPEND); |
17 | file_put_contents('../test_sitemap.htm','<a href="'.$file.'">'.$file.'</a><br>'."\n", FILE_APPEND); |
15 | } |
18 | } |
16 | 19 | ||
17 | echo "Done.\n"; |
20 | echo "Done.\n"; |