includes/functions.php
changeset 1133 6e51ca5e29eb
parent 1123 777f32ac6b7c
child 1159 a1cca4472a58
--- a/includes/functions.php	Tue Nov 03 22:08:48 2009 -0500
+++ b/includes/functions.php	Mon Nov 09 09:18:29 2009 -0500
@@ -5194,7 +5194,7 @@
     foreach ( $extensions as $ext )
     {
       $fullpath = "$dir/{$executable}{$ext}";
-      if ( file_exists($fullpath) && is_executable($fullpath) )
+      if ( @file_exists($fullpath) && @is_executable($fullpath) )
       {
         return $fullpath;
       }