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

Allow valid non-existent paths in function isPathValid()

This commit is contained in:
Marco Dickert
2023-12-05 15:19:06 +01:00
parent cbdb7fb9b7
commit ef47c1c027

View File

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