diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-23 05:24:13 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-23 05:24:13 -0400 |
commit | 85c7b8df7101185907a43a8d83d54805a8473c2e (patch) | |
tree | 864dc346d82c029a2c5112ff7643b4b9bc17cb02 /lib/util.php | |
parent | 2053bdabef929f4a095d91fbdd3fa62646e9f332 (diff) | |
parent | 63c52784c7acc54b0b7b39ff3ca7763774e4ab9a (diff) |
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 9b6d2941a..af4db4f02 100644 --- a/lib/util.php +++ b/lib/util.php @@ -980,7 +980,7 @@ function common_root_url($ssl=false) function common_good_rand($bytes) { // XXX: use random.org...? - if (file_exists('/dev/urandom')) { + if (@file_exists('/dev/urandom')) { return common_urandom($bytes); } else { // FIXME: this is probably not good enough return common_mtrand($bytes); |