https://www.icyphoenix.com/viewtopic.php?f=4&t=6297&p=42845#p42845
-----------------------------------
FedericoBiccheddu
Fri 14 Aug, 2009 12:05

DEBUG - Deprecated: Function Set_magic_quotes_runtime() Is Deprecated
-----------------------------------
FIX: [url=http://www.icyphoenix.com/bugs.php?mode=view&bug_id=36]Deprecated: Function set_magic_quotes_runtime() is deprecated

OPEN: common.php

SEARCH:
[code linenumbers=false]	set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
	if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on' || !function_exists('ini_get'))
	{
		deregister_globals();
	}
	define('STRIP', (get_magic_quotes_gpc()) ? true : false);[/code]

REPLACE WITH:
[code linenumbers=false]	if(version_compare(PHP_VERSION, '5.3.0', '<'))
	{
		set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
		if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on' || !function_exists('ini_get'))
		{
			deregister_globals();
		}
		define('STRIP', (get_magic_quotes_gpc()) ? true : false);
	}[/code]

 :wink:


