changeset 36:9a2e0b2a2d1d

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
author edogawaconan <me@myconan.net>
date Thu, 13 Nov 2014 16:10:14 +0900
parents 21132c7b6aaa
children 08c4e9388f54
files index.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 .= "<tr>";
       $file_rows .= "<td>".link_to($file . $file_suffix, $file . $file_suffix)."</td>";