Commit cdd32b63a1f9d95324efb61c203caf5ea9575496

Authored by Michael Joseph
1 parent 6eaf91a6

change permissions from string to int


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