From 8216c5ee690f97b9f8f8ac967dac5c5f3745a00f Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 12 Apr 2016 06:18:24 -0400
Subject: [PATCH] Fixed: Issue #3820 v3.1 Shell user wrong default Base Dir in GUI results to corrupt shell user home directory creation.

---
 server/lib/classes/openvz_tools.inc.php |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/server/lib/classes/openvz_tools.inc.php b/server/lib/classes/openvz_tools.inc.php
index 403613c..16dc601 100644
--- a/server/lib/classes/openvz_tools.inc.php
+++ b/server/lib/classes/openvz_tools.inc.php
@@ -31,6 +31,8 @@
 	/**
 	 * Checks, if the server ist a OpenVZ - Host
 	 */
+
+
 	public function isOpenVzHost() {
 		/*
 		 * if there is a "/proc/user_beanconters" we have OpenVz "in use"
@@ -109,7 +111,7 @@
 			$item = trim($item);
 
 			/*
-			 * Now get every token and insert it to the array 
+			 * Now get every token and insert it to the array
 			 */
 			if ($item != '') {
 				$tmp = explode(' ', $item);
@@ -145,5 +147,7 @@
 		/* ready */
 		return $res;
 	}
+
 }
-?>
\ No newline at end of file
+
+?>

--
Gitblit v1.9.1