Commit e1e4b8abc2bfed9237fcebb0f522a2bbc1882e35
1 parent
81e8ab3f
Exists in
master
and in
109 other branches
added samp for stat
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
php/uploadFile.php
... | ... | @@ -162,6 +162,11 @@ |
162 | 162 | |
163 | 163 | $dataFilePath = USERDATADIR.$fileName; |
164 | 164 | rename($tmpFilePath,$dataFilePath); |
165 | + | |
166 | + $amdaStat = new AmdaStats($_POST['sessionID']); | |
167 | + if ($amdaStat->success) { | |
168 | + $amdaStat->addTask($_POST['sessionID'], 'samp', null); | |
169 | + } | |
165 | 170 | } |
166 | 171 | else if ($fromURL) |
167 | 172 | { |
... | ... |