Skip to content

Commit b8f1573

Browse files
committed
Removed magic_quotes_runtime for compatibility with PHP 6
1 parent adf199c commit b8f1573

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

interface/lib/classes/tpl.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,10 +1226,10 @@ private function _parseTag ($args)
12261226
*/
12271227
private function _intParse ()
12281228
{
1229-
$mqrt = get_magic_quotes_runtime();
1230-
set_magic_quotes_runtime(0);
1229+
//$mqrt = get_magic_quotes_runtime();
1230+
//set_magic_quotes_runtime(0);
12311231
$this->_tmplfilep = '?>'.$this->_getData($this->_tmplfilename).'<?php return true;';
1232-
set_magic_quotes_runtime($mqrt);
1232+
//set_magic_quotes_runtime($mqrt);
12331233
return true;
12341234
}
12351235

server/lib/classes/tpl.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,10 +1339,10 @@ function _parseTag ($args) {
13391339
* @return boolean true/false
13401340
*/
13411341
function _intParse () {
1342-
$mqrt = get_magic_quotes_runtime();
1343-
set_magic_quotes_runtime(0);
1342+
//$mqrt = get_magic_quotes_runtime();
1343+
//set_magic_quotes_runtime(0);
13441344
$this->_tmplfilep = '?>'.$this->_getData($this->_tmplfilename).'<?php return true;';
1345-
set_magic_quotes_runtime($mqrt);
1345+
//set_magic_quotes_runtime($mqrt);
13461346
return true;
13471347
}
13481348

0 commit comments

Comments
 (0)