improve work directory cleanup.

This commit is contained in:
Taylor Otwell
2012-02-02 16:52:47 -06:00
parent f0c273771a
commit e21d914c1c
2 changed files with 3 additions and 1 deletions

View File

@@ -222,7 +222,7 @@ class File {
{
$path = $item->getRealPath();
static::cpdir($path, $location);
static::cpdir($path, $location, $delete, $options);
if ($delete) @rmdir($item->getRealPath());
}