mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-13 03:23:59 +02:00
Allow valid non-existent paths in function isPathValid()
This commit is contained in:
@@ -1156,8 +1156,6 @@ f00bar;
|
|||||||
return false;
|
return false;
|
||||||
elseif ($rpDir == $rpConfig)
|
elseif ($rpDir == $rpConfig)
|
||||||
return true;
|
return true;
|
||||||
elseif (!file_exists($rpDir))
|
|
||||||
return false;
|
|
||||||
elseif (0 === strpos($rpDir, $rpConfig))
|
elseif (0 === strpos($rpDir, $rpConfig))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user