|
@@ 1465-1466 (lines=2) @@
|
| 1462 |
|
|
| 1463 |
|
if ($action['type'] == 'create-dir') |
| 1464 |
|
{ |
| 1465 |
|
if (!mktree($action['destination'], 0755) || !is_writable($action['destination'])) |
| 1466 |
|
$failure |= !mktree($action['destination'], 0777); |
| 1467 |
|
} |
| 1468 |
|
elseif ($action['type'] == 'create-file') |
| 1469 |
|
{ |
|
@@ 1517-1518 (lines=2) @@
|
| 1514 |
|
} |
| 1515 |
|
elseif ($action['type'] == 'move-dir') |
| 1516 |
|
{ |
| 1517 |
|
if (!mktree($action['destination'], 0755) || !is_writable($action['destination'])) |
| 1518 |
|
$failure |= !mktree($action['destination'], 0777); |
| 1519 |
|
|
| 1520 |
|
$failure |= !rename($action['source'], $action['destination']); |
| 1521 |
|
} |