Skip to content

Commit e9a7d0f

Browse files
committed
Directory permissions switched to 775
1 parent 79783fa commit e9a7d0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Simple data logging with customize directories.",
44
"type": "library",
55
"keywords": ["php", "log", "logger", "logging"],
6-
"version": "2.1",
6+
"version": "2.2",
77
"require": {
88
"php": "^7.4",
99
"ext-json": "*"

src/Logger.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public function __construct()
6969
$this->clearLevel = false;
7070
$this->setWorkDirectory('.' . DIRECTORY_SEPARATOR . 'logs');
7171
$this->setLevel('runtime');
72-
$this->setFilePermissions(0755);
73-
$this->setDirectoryPermissions(0664);
72+
$this->setFilePermissions(0775);
73+
$this->setDirectoryPermissions(0775);
7474
$this->setItemKey(null);
7575
$this->setItemsLimit(1000);
7676
$this->setTimeZone('UTC');

0 commit comments

Comments
 (0)