From 3d06bad1c292ddef53dc384f96bbef7e1cd3725d Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Fri, 09 Jan 2015 10:32:32 -0500
Subject: [PATCH] - Made sure SQL backups from servers that differ from the server where the website is on can be restored. A download of the backup is not possible in such a case, therefore I hide the "Download" button.

---
 interface/lib/classes/tools_monitor.inc.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/interface/lib/classes/tools_monitor.inc.php b/interface/lib/classes/tools_monitor.inc.php
index abf8923..52888e8 100644
--- a/interface/lib/classes/tools_monitor.inc.php
+++ b/interface/lib/classes/tools_monitor.inc.php
@@ -377,7 +377,9 @@
 			}
 			else {
 				$data = unserialize($record['data']);
-				$html .= nl2br($data['output']);
+				// improve view @Author <info@typoworx.de>
+				//-- $html .= nl2br($data['output']);
+				$html .= '<xmp>' . $data['output'] . '</xmp>';
 			}
 			$html .= '</div></div>';
 

--
Gitblit v1.9.1