File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 " ];
You can’t perform that action at this time.
0 commit comments