From: s-ko <aleks@s-ko.net>
Date: Thu, 25 Sep 2014 21:57:19 +0000 (+0100)
Subject: Disabled debug information by default
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=600c3a6ba2d0ca78d640fd5748b5787ef1f4be41;p=simple-upload.git

Disabled debug information by default
---

diff --git a/index.php b/index.php
index ff1aa24..9ed0398 100644
--- a/index.php
+++ b/index.php
@@ -48,7 +48,7 @@
 
 
 		// Display debugging information
-		debug => true
+		debug => false
 
 	);
 
@@ -322,12 +322,12 @@
 							if ($settings['listfiles_size'])
 								$file_info[] = date ('F d Y H:i:s.', filemtime($filename));
 
-							$file_info = implode(',', $file_info);
+							$file_info = implode(', ', $file_info);
 
 							if (strlen($file_info) > 0)
-								$file_info = '(' . $file_info . ')';
+								$file_info = ' (' . $file_info . ')';
 
-							echo "<li><a href=\"$filename\">$filename $file_info</a></li>";
+							echo "<li><a href=\"$filename\">$filename</a>$file_info</li>";
 						}
 				?>
 			</ul>