From e5b3535bd8ed2b4e72dbb0317f95658e389fb000 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 10 May 2010 05:06:23 -0400
Subject: [PATCH] Show warning message someone tries to use root as username for a client database when the database prefixes are removed.

---
 install/tpl/config.inc.php.master |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/install/tpl/config.inc.php.master b/install/tpl/config.inc.php.master
index f4d0b9c..d2f0dac 100644
--- a/install/tpl/config.inc.php.master
+++ b/install/tpl/config.inc.php.master
@@ -46,7 +46,7 @@
 }
 
 //** Set a few php.ini values
-set_magic_quotes_runtime(0);
+if(get_magic_quotes_runtime()) set_magic_quotes_runtime(false);
 if(isset($app)) unset($app);
 if(isset($conf)) unset($conf);
 
@@ -57,7 +57,7 @@
 
 //** Application
 define('ISPC_APP_TITLE', 'ISPConfig');
-define('ISPC_APP_VERSION', '3.0.1.4');
+define('ISPC_APP_VERSION', '3.0.2.1');
 
 
 //** Database
@@ -134,6 +134,7 @@
 
 //** Default Language
 $conf["language"] = '{language}';
+$conf["debug_language"] = false;
 
 
 //** Misc.

--
Gitblit v1.9.1