Commit b8f15732 authored by tbrehm's avatar tbrehm
Browse files

Removed magic_quotes_runtime for compatibility with PHP 6

parent adf199c4
......@@ -1226,10 +1226,10 @@ if (!defined('vlibTemplateClassLoaded')) {
*/
private 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;
}
......
......@@ -1339,10 +1339,10 @@ if (!defined('vlibTemplateClassLoaded')) {
* @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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment