mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
removeDir() does not require a leading dir separator
This commit is contained in:
parent
f9328a5b7c
commit
09f6dc64a6
|
@ -449,7 +449,7 @@ class SeedDMS_Core_File {
|
||||||
continue;
|
continue;
|
||||||
else if (is_dir($path . DIRECTORY_SEPARATOR . $entry))
|
else if (is_dir($path . DIRECTORY_SEPARATOR . $entry))
|
||||||
{
|
{
|
||||||
if (!self::removeDir($path . DIRECTORY_SEPARATOR . $entry . "/"))
|
if (!self::removeDir($path . DIRECTORY_SEPARATOR . $entry ))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user