hid .htaccess from sight

This commit is contained in:
alopexc0de 2012-10-09 04:34:21 -04:00
parent 15277d0f12
commit 57793480da

View File

@ -2,7 +2,7 @@
if ($handle = opendir('.')) { if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) while (false !== ($file = readdir($handle)))
{ {
if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "imgup.php") if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "imgup.php" && $file != ".htaccess")
{ {
$last_modified = filemtime($file); $last_modified = filemtime($file);
//print(date("m/j/y h:i:s a", $last_modified)); //print(date("m/j/y h:i:s a", $last_modified));
@ -11,4 +11,4 @@ if ($handle = opendir('.')) {
} }
closedir($handle); closedir($handle);
} }
?> ?>