From 3f133efa69d540782d8ff2fd962618eb902ab89f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 30 Sep 2008 17:17:18 -0400
Subject: [PATCH] - Minor fixes in software update plugin.

---
 server/plugins-available/software_update_plugin.inc.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/server/plugins-available/software_update_plugin.inc.php b/server/plugins-available/software_update_plugin.inc.php
index 0bc0081..c3caf63 100644
--- a/server/plugins-available/software_update_plugin.inc.php
+++ b/server/plugins-available/software_update_plugin.inc.php
@@ -58,7 +58,7 @@
 		global $app, $conf;
 		
 		if(!$conf['software_updates_enabled'] == true) {
-			$app->log('Software Updates not eanbled on this server. To enable updates, set $conf["software_updates_enabled"] = true; in config.inc.php',LOGLEVEL_ERROR);
+			$app->log('Software Updates not enabled on this server. To enable updates, set $conf["software_updates_enabled"] = true; in config.inc.php',LOGLEVEL_ERROR);
 			return false;
 		}
 		
@@ -89,6 +89,8 @@
 				exec("rm -rf $temp_dir");
 				$app->log("Deleting the temp directory $temp_dir",LOGLEVEL_DEBUG);
 				return false;
+			} else {
+				$app->log("md5sum of the downloaded file is verified.",LOGLEVEL_DEBUG);
 			}
 			
 			

--
Gitblit v1.9.1