1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 04:37:38 +02:00
This commit is contained in:
Jordi Boggiano
2015-07-20 19:31:46 +01:00
parent 00a3ad6572
commit e4f45be5dc
2 changed files with 22 additions and 20 deletions

View File

@@ -127,7 +127,9 @@ class StreamHandler extends AbstractProcessingHandler
private function createDir()
{
// Do not try to create dir if it has already been tried.
if ($this->dirCreated) return;
if ($this->dirCreated) {
return;
}
$dir = $this->getDirFromStream($this->url);
if (null !== $dir && !is_dir($dir)) {