From 100be1aa67d90be1bb58f5a51fb5273bc364984f Mon Sep 17 00:00:00 2001
From: pedro_morgan <pedro_morgan@ispconfig3>
Date: Sun, 19 Aug 2007 01:02:55 -0400
Subject: [PATCH] Minor tweaks to login

---
 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