From b8f157327495c5bf789048c6746e09c3ac220a76 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Thu, 19 Nov 2009 07:49:05 -0500 Subject: [PATCH] Removed magic_quotes_runtime for compatibility with PHP 6 --- server/lib/classes/tpl.inc.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/lib/classes/tpl.inc.php b/server/lib/classes/tpl.inc.php index f64567f..285fc66 100644 --- a/server/lib/classes/tpl.inc.php +++ b/server/lib/classes/tpl.inc.php @@ -1339,10 +1339,10 @@ * @return boolean true/false */ function _intParse () { - $mqrt = get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); + //$mqrt = get_magic_quotes_runtime(); + //set_magic_quotes_runtime(0); $this->_tmplfilep = '?>'.$this->_getData($this->_tmplfilename).'<?php return true;'; - set_magic_quotes_runtime($mqrt); + //set_magic_quotes_runtime($mqrt); return true; } -- Gitblit v1.9.1