From ed8db3da2787d8068f18e0ddc806294f759b8010 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 10 Dec 2015 14:03:54 +0100 Subject: bug #385 compatibility with PHP7 * replace old-style constructor with PHP5-style constructor (__construct) * do not call set_magic_quotes_runtime() any longer * avoid automatic conversion from array to string --- include/common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/common.inc.php') diff --git a/include/common.inc.php b/include/common.inc.php index 8fab02ab2..6df5efc26 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -26,7 +26,7 @@ defined('PHPWG_ROOT_PATH') or trigger_error('Hacking attempt!', E_USER_ERROR); // determine the initial instant to indicate the generation time of this page $t2 = microtime(true); -@set_magic_quotes_runtime(0); // Disable magic_quotes_runtime +// @set_magic_quotes_runtime(0); // Disable magic_quotes_runtime // // addslashes to vars if magic_quotes_gpc is off this is a security -- cgit v1.2.3