includes/rijndael.php
changeset 472 bc4b58034f4d
parent 461 717e71109645
child 518 2b826f2640e9
--- a/includes/rijndael.php	Sat Mar 01 23:02:05 2008 -0500
+++ b/includes/rijndael.php	Sun Mar 02 19:32:19 2008 -0500
@@ -909,7 +909,7 @@
     {
       $key .= chr(mt_rand(0, 255));
     }
-    if ( file_exists('/dev/urandom') && is_readable('/dev/urandom') )
+    if ( @file_exists('/dev/urandom') && @is_readable('/dev/urandom') )
     {
       // Let's use something a little more secure
       $ur = @fopen('/dev/urandom', 'r');