This commit is contained in:
DL6ER
2016-12-21 14:58:32 +01:00
parent 1122cf307e
commit b9f0e432a8
+1 -1
View File
@@ -5,7 +5,7 @@
$hosts = file_exists("/etc/hosts") ? file("/etc/hosts") : array();
function checkfile($filename) {
if(file_readable($filename))
if(is_readable($filename))
{
return $filename;
}