Small fixes.

This commit is contained in:
Niels Serup
2011-08-05 02:49:23 +02:00
parent 15b8bb5265
commit 962efc2b88
19 changed files with 3 additions and 19 deletions

View File

@@ -5,7 +5,7 @@ for ($i=0;$i<$fn;$i++) {
$link=$files[$i];
$imglink=explode(".",$link);
$imglink=$imglink[0].".png";
if (!is_dir($link) && $link!="." && $link!=".." && $link!="index.php") {
if (!is_dir($link) && $link!="." && $link!=".." && $link!="index.php" && $link[0] != '.') {
$fo=fopen($link,"r");
$fr=fread($fo,filesize($link));
fclose($fo);