# HG changeset patch # User edogawaconan # Date 1415862614 -32400 # Node ID 9a2e0b2a2d1d1c04ce19812b9ec80ea8b5362b11 # Parent 21132c7b6aaacf0c07d6f44224d82b02a88fef27 Suppress stat() failure. - prevents warning being emitted - I don't care if the file is missing or whatever - can't be easily caught with php anyway diff -r 21132c7b6aaa -r 9a2e0b2a2d1d index.php --- a/index.php Thu Nov 13 15:46:42 2014 +0900 +++ b/index.php Thu Nov 13 16:10:14 2014 +0900 @@ -96,7 +96,7 @@ } foreach($files as $file) { - $file_stat = stat($dir . "/". $file); + $file_stat = @stat($dir . "/". $file); $file_rows .= ""; $file_rows .= "".link_to($file . $file_suffix, $file . $file_suffix)."";