Skip to content
Snippets Groups Projects
Unverified Commit 8090cf9e authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Improve readability

parent d851f5ab
No related branches found
No related tags found
No related merge requests found
...@@ -69,11 +69,11 @@ class File extends \SimpleSAML\Stats\Output ...@@ -69,11 +69,11 @@ class File extends \SimpleSAML\Stats\Output
if ($fh === false) { if ($fh === false) {
throw new Error\Exception('Error opening log file: '.var_export($fileName, true)); throw new Error\Exception('Error opening log file: '.var_export($fileName, true));
} }
$this->file = $fh;
// Disable output buffering // Disable output buffering
stream_set_write_buffer($this->file, 0); stream_set_write_buffer($fh, 0);
$this->file = $fh;
$this->fileDate = $date; $this->fileDate = $date;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment