jrgp / linfo

Linfo PHP Server Health Status
MIT License
361 stars 73 forks source link

parse_ini_file if the file is readable #131

Closed icyz closed 1 year ago

icyz commented 1 year ago

This is the problem fixed in this patch: Warning: parse_ini_file(/sys/class/net/br-9fc543d48492/device/uevent): Failed to open stream: No such file or directory in ./vendor/linfo/linfo/src/Linfo/OS/Linux.php on line 972 (error level: 2) Warning: parse_ini_file(/sys/class/net/br-33ac76a12cae/device/uevent): Failed to open stream: No such file or directory in /vendor/linfo/linfo/src/Linfo/OS/Linux.php on line 972 (error level: 2) Warning: parse_ini_file(/sys/class/net/docker0/device/uevent): Failed to open stream: No such file or directory in /vendor/linfo/linfo/src/Linfo/OS/Linux.php on line 972 (error level: 2) Warning: parse_ini_file(/sys/class/net/virbr0/device/uevent): Failed to open stream: No such file or directory in /vendor/linfo/linfo/src/Linfo/OS/Linux.php on line 972 (error level: 2)

jrgp commented 1 year ago

Thanks!

icyz commented 1 year ago

Can you also make a new release with these fix? Thanks!

jrgp commented 1 year ago

Just released tag v4.0.8