summaryrefslogtreecommitdiffstats
path: root/files/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/upload.php')
-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;