mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-29 05:25:42 +00:00
Merge remote-tracking branch 'origin/dev' into forwardinghosts
This commit is contained in:
commit
7efc720d47
68 files changed
+6344
-256
No files matched your search
@@ -5208,7 +5208,10 @@ function get_logs($container, $lines = 100) {
|
||||
}
|
||||
if ($container == "postfix-mailcow") {
|
||||
if ($data = $redis->lRange('POSTFIX_MAILLOG', 1, $lines)) {
|
||||
return $data;
|
||||
foreach ($data as $json_line) {
|
||||
$data_array[] = json_decode($json_line, true);
|
||||
}
|
||||
return $data_array;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user