mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-04-21 16:02:11 +02:00
Fixes #2859
This commit is contained in:
parent
d2d9b1bdae
commit
42fd84ea79
@ -275,7 +275,7 @@ class SettingsController extends Controller
|
||||
|
||||
collect($log->getHandlers())->reject(function ($handler) {
|
||||
return $handler instanceof SyslogHandler;
|
||||
})->each(function ($handler) use ($logContents) {
|
||||
})->each(function ($handler) use (&$logContents, $log) {
|
||||
if (file_exists($path = $log->getHandlers()[0]->getUrl())) {
|
||||
$logContents = file_get_contents($path);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user