Commit 35c62950170223c97f0fb9eddd4ed92ba3986e76

Authored by kevin_fourie
1 parent de66ba65

Merged in...

KTS-3814
"Why strtolower paths on upload manager?"
Fixed.

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.4-Release-Branch@9556 c91229c3-7414-0410-bfa2-8a42b809f60b
ktwebservice/KTUploadManager.inc.php
... ... @@ -54,7 +54,7 @@ class KTUploadManager
54 54  
55 55 $this->age = $config->get('webservice/uploadExpiry',60);
56 56 $this->temp_dir = $config->get('webservice/uploadDirectory');
57   - $this->temp_dir = strtolower(str_replace('\\','/', $this->temp_dir));
  57 + $this->temp_dir = str_replace('\\','/', $this->temp_dir);
58 58 }
59 59  
60 60 /**
... ... @@ -79,7 +79,7 @@ class KTUploadManager
79 79 function is_valid_temporary_file($tempfilename)
80 80 {
81 81 $tempdir = substr($tempfilename,0,strlen($this->temp_dir));
82   - $tempdir = strtolower(str_replace('\\','/', $tempdir));
  82 + $tempdir = str_replace('\\','/', $tempdir);
83 83 return ($tempdir == $this->temp_dir);
84 84 }
85 85  
... ...