Commit 9a329c573f5dad8e490e8d31d1385fc99151473e
1 parent
ecced9f7
Exists in
master
and in
111 other branches
setSpecilaSettings
Showing
1 changed file
with
6 additions
and
5 deletions
Show diff stats
php/uploadFile.php
... | ... | @@ -115,10 +115,11 @@ |
115 | 115 | |
116 | 116 | if ($_POST['filesrc'] == 'URL') $fromURL = true; |
117 | 117 | else $fromURL = false; |
118 | - | |
118 | + | |
119 | 119 | // to check ws sizw |
120 | 120 | $wsMgr = new UserMgr(); |
121 | - | |
121 | + $wsMgr->setSpecialSettings(); | |
122 | + | |
122 | 123 | if ($fromURL) |
123 | 124 | { |
124 | 125 | // url files check |
... | ... | @@ -245,7 +246,7 @@ |
245 | 246 | { |
246 | 247 | $file['error'] = 5; |
247 | 248 | } |
248 | - | |
249 | + | |
249 | 250 | if ($file['error'] !== 0) |
250 | 251 | { |
251 | 252 | $response = array( 'success'=>false, 'error'=>file_upload_error_message($file['error'])); |
... | ... | @@ -310,8 +311,8 @@ |
310 | 311 | if ($isFile) |
311 | 312 | { |
312 | 313 | $fileMgr = new FilesMgr(); |
313 | - $amdaStat = new AmdaStats($_POST['sessionID']); | |
314 | - if ($amdaStat->success) $amdaStat->addTask('upload', $_POST['sessionID'], null); | |
314 | + // $amdaStat = new AmdaStats($_POST['sessionID']); | |
315 | + // if ($amdaStat->success) $amdaStat->addTask('upload', $_POST['sessionID'], null); | |
315 | 316 | } |
316 | 317 | // Time Table or Catalog |
317 | 318 | else |
... | ... |