Commit 51b1b2c095587cdbbd35eabe2212aa32f2eadd2a
1 parent
ecac355e
Exists in
master
and in
111 other branches
set user for special settings
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
php/uploadFile.php
... | ... | @@ -126,10 +126,11 @@ |
126 | 126 | if ($_POST['filesrc'] == 'URL') $fromURL = true; |
127 | 127 | else $fromURL = false; |
128 | 128 | |
129 | - // to check ws sizw | |
130 | - $wsMgr = new UserMgr(); | |
129 | + // to check ws size | |
130 | + $wsMgr = new UserMgr($_POST['sessionID']); | |
131 | 131 | $wsMgr->setSpecialSettings(); |
132 | 132 | |
133 | + | |
133 | 134 | if (isset($sampData) && !empty($sampData)) { |
134 | 135 | $fileMgr = new FilesMgr(); |
135 | 136 | $fileName = date("Y-m-d\TH:i:s").'_samp.vot'; |
... | ... |