From 5fcaec01d8d2b22eb6ebc8f320b8dd45db0d409a Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Fri, 17 Aug 2007 20:32:39 -0400
Subject: [PATCH] Double quotes

---
 server/server.php |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/server/server.php b/server/server.php
index b4973f8..b87ea45 100644
--- a/server/server.php
+++ b/server/server.php
@@ -76,7 +76,7 @@
 	$app->log("Found $tmp_num_records changes, starting update process.",LOGLEVEL_DEBUG);
 	
 	// Load required base-classes
-	$app->uses('ini_parser,modules,plugins');
+	$app->uses('ini_parser,modules,plugins,file,services');
 	
 	
 	// Get server configuration
@@ -99,8 +99,15 @@
 	 in the modules that are hooked on to the table actions
 	*/
 	$app->modules->processDatalog();
+	
+	/*
+	 Restart services that need to be restarted after configuration
+	*/
+	$app->services->processDelayedActions();
+	
+	
 } else {
-	$app->log('Nothing to Update.',LOGLEVEL_DEBUG);
+	$app->log('No Updated records found.',LOGLEVEL_DEBUG);
 }
 
 /*
@@ -109,5 +116,5 @@
 $app->log("Remove Lock: ".$conf["temppath"].$conf["fs_div"].".ispconfig_lock",LOGLEVEL_DEBUG);
 */
 
-die('finished.');
+die("finished.\n");
 ?>
\ No newline at end of file

--
Gitblit v1.9.1