From dcff5718f345f55f7ea81f18d1f086facde4eacf Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Mon, 20 Aug 2007 23:14:51 -0400
Subject: [PATCH] * Using new ISPC_*_PATH constants * Adding new data schema (to be moved shortly * no more $conf['classpath']

---
 server/server.php |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/server/server.php b/server/server.php
index 89341eb..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);
 }
 
 /*

--
Gitblit v1.9.1