From: Roland Häder Date: Tue, 29 Mar 2016 15:02:24 +0000 (+0200) Subject: Some rewrites: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f808799b08709847fa0794f2b9b91372f9666f3;p=simple-upload.git Some rewrites: - declare each JavaScript variable separately - target_ul is null when listing of files is deactivated --- diff --git a/index.php b/index.php index 2cc58d0..72f6cb0 100644 --- a/index.php +++ b/index.php @@ -447,6 +447,7 @@ if (!$file_private || $file_owner) { echo "
  • "; + // Create full-qualified URL and clean it a bit $url = str_replace('/./', '/', sprintf('%s%s/%s', $settings['url'], $settings['uploaddir'], $filename)); echo "$filename$file_info"; @@ -483,14 +484,18 @@