1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-10 10:04:01 +02:00

if dir not exist return "invalid path"

This commit is contained in:
Dmitriy Novash
2022-06-09 19:26:41 +03:00
parent 49c42b635e
commit b8bce0617b

View File

@@ -1153,6 +1153,8 @@ f00bar;
return false;
elseif ($rpDir == $rpConfig)
return true;
elseif (!file_exists($rpDir))
return false;
elseif (0 === strpos($rpDir, $rpConfig))
return true;
else