|
@@ 132-134 (lines=3) @@
|
| 129 |
|
public function log($cmd, $result, $args, $elfinder) { |
| 130 |
|
$log = $cmd.' ['.date('d.m H:s')."]\n"; |
| 131 |
|
|
| 132 |
|
if (!empty($result['error'])) { |
| 133 |
|
$log .= "\tERROR: ".implode(' ', $result['error'])."\n"; |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
if (!empty($result['warning'])) { |
| 137 |
|
$log .= "\tWARNING: ".implode(' ', $result['warning'])."\n"; |
|
@@ 136-138 (lines=3) @@
|
| 133 |
|
$log .= "\tERROR: ".implode(' ', $result['error'])."\n"; |
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
if (!empty($result['warning'])) { |
| 137 |
|
$log .= "\tWARNING: ".implode(' ', $result['warning'])."\n"; |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
if (!empty($result['removed'])) { |
| 141 |
|
foreach ($result['removed'] as $file) { |