summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin <robin@Amaya.(none)>2010-04-25 15:04:13 +0200
committerRobin <robin@Amaya.(none)>2010-04-25 15:04:13 +0200
commitafc0ef420b58b92e38ea600c2eac972ed132fbac (patch)
tree3ced70c323eb110da0738b75556783953cf85322 /files
parentc2bdd6134be53dcf822632192af10cf3cf80be1e (diff)
downloadnextcloud-server-afc0ef420b58b92e38ea600c2eac972ed132fbac.tar.gz
nextcloud-server-afc0ef420b58b92e38ea600c2eac972ed132fbac.zip
bug fix when starting multiply uploads while the old ones arent finsihed, detect file actions on mimetype not on extention
Diffstat (limited to 'files')
-rw-r--r--files/upload.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/upload.php b/files/upload.php
index b5fed2ed5b1..0aa435cad6f 100644
--- a/files/upload.php
+++ b/files/upload.php
@@ -22,6 +22,8 @@
*/
require_once('../inc/lib_base.php');
+// sleep(5); //immitate slow internet.
+
$fileName=$_FILES['file']['name'];
$source=$_FILES['file']['tmp_name'];
$target=$CONFIG_DATADIRECTORY.'/'.$_GET['dir'].'/'.$fileName;