mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 05:57:34 +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;
|
||||
else if (is_dir($path . DIRECTORY_SEPARATOR . $entry))
|
||||
{
|
||||
if (!self::removeDir($path . DIRECTORY_SEPARATOR . $entry . "/"))
|
||||
if (!self::removeDir($path . DIRECTORY_SEPARATOR . $entry ))
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user