Commit ece99ea5b465ca9d43a6e8240350c809e85429b0

Authored by Michael Joseph
1 parent 110f1a2c

default folder permissions


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1685 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/Log.inc
@@ -54,7 +54,7 @@ class Log { @@ -54,7 +54,7 @@ class Log {
54 function initialiseLogFile() { 54 function initialiseLogFile() {
55 global $default; 55 global $default;
56 if (!file_exists($this->logDirectory)) { 56 if (!file_exists($this->logDirectory)) {
57 - mkdir($this->logDirectory, $default->uMask); 57 + mkdir($this->logDirectory, "0755");
58 } 58 }
59 59
60 $this->logFile = $this->logDirectory . "/log-" . date("d-m-Y") . ".txt"; 60 $this->logFile = $this->logDirectory . "/log-" . date("d-m-Y") . ".txt";
lib/foldermanagement/PhysicalFolderManagement.inc
@@ -24,7 +24,7 @@ class PhysicalFolderManagement { @@ -24,7 +24,7 @@ class PhysicalFolderManagement {
24 function createFolder($sPath) { 24 function createFolder($sPath) {
25 global $default; 25 global $default;
26 26
27 - return mkdir($sPath, $default->uMask); 27 + return mkdir($sPath, "0755");
28 } 28 }
29 29
30 /** 30 /**