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 --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index 4933dc218..269b9830b 100644 --- a/install.php +++ b/install.php @@ -24,7 +24,7 @@ //----------------------------------------------------------- include define('PHPWG_ROOT_PATH','./'); -@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 // precaution to prevent someone trying to break out of a SQL statement. @@ -529,4 +529,4 @@ if (count($infos) != 0 ) //----------------------------------------------------------- html code display $template->pparse('install'); -?> \ No newline at end of file +?> -- cgit v1.2.3