Skip to content

Commit 4791457

Browse files
committed
update Updater.php
1 parent f219bcc commit 4791457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Updater.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private function CreateFolder(string $FolderName, string $FolderPath = '')
236236
}
237237
if (true !== is_dir($download_path)) {
238238
$FolderName = ucfirst($FolderName);
239-
if (mkdir($download_path, 0755, true)) {
239+
if (mkdir($download_path, 0700, true)) {
240240
$this->log[] = [date("Y-m-d H:i:s"), "$FolderName folder created. $download_path"];
241241
} else {
242242
$this->log[] = [date("Y-m-d H:i:s"), "$FolderName folder cannot be created. $download_path"];
@@ -420,7 +420,7 @@ private function Upgrade()
420420
$source_path = $this->dir . "$release_relative_path";
421421
if (is_dir($release_path)) {
422422
if (!is_dir($source_path)) {
423-
if (mkdir($source_path, 0700, true)) {
423+
if (mkdir($source_path, 0755, true)) {
424424
$this->log[] = [date("Y-m-d H:i:s"), "Folder created. $source_path"];
425425
} else {
426426
$this->log[] = [date("Y-m-d H:i:s"), "Folder cannot be created. $source_path"];

0 commit comments

Comments
 (0)