From c86da31b33c57df2e2cc611bf088be70830bcd0c Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 21 Mar 2010 07:05:13 -0400
Subject: [PATCH] Fixed: FS#1111 - Delete an 'in use' template should be blocked

---
 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 a0f978c..629e6cc 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');
+define('ISPC_APP_VERSION', '3.0.2');
 
 
 //** Database
@@ -134,6 +134,7 @@
 
 //** Default Language
 $conf["language"] = '{language}';
+$conf["debug_language"] = false;
 
 
 //** Misc.

--
Gitblit v1.9.1