From 2648e0e942833a423250f224270bb6d218541a7f Mon Sep 17 00:00:00 2001 From: s-ko Date: Sun, 21 Sep 2014 21:15:35 +0100 Subject: [PATCH] Corrected list files setting default value --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 2f909aa..57a4407 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,7 @@ $settings['uploaddir'] = '.'; // List uploaded files - $settings['listfiles'] = '.'; + $settings['listfiles'] = true; // Relative path to this file (don't edit) $settings['scriptpath'] = $_SERVER['PHP_SELF']; @@ -32,7 +32,7 @@ ?> - Upload <?=$settings['scriptname']?> + Upload files @@ -40,7 +40,7 @@ Dropzone.options.myAwesomeDropzone = { init: function() { this.on("success", function (file, response) { - window.location.href = response; + alert(response); }); }, }; -- 2.39.5