Ignore:
Timestamp:
04/18/13 15:01:57 (7 years ago)
Author:
plg
Message:

merge r22280 from branch 2.5 to trunk

bug 2864 fixed: avoid warning on /dev/urandom with open_basedir restriction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/passwordhash.class.php

    r18889 r22281  
    4949        { 
    5050                $output = ''; 
    51                 if (is_readable('/dev/urandom') && 
     51                if (@is_readable('/dev/urandom') && 
    5252                    ($fh = @fopen('/dev/urandom', 'rb'))) { 
    5353                        $output = fread($fh, $count); 
Note: See TracChangeset for help on using the changeset viewer.