From: Alan Knowles Date: Thu, 14 May 2020 08:25:41 +0000 (+0800) Subject: magic quotes not needed in 7.0 X-Git-Url: http://git.roojs.org/?p=pear;a=commitdiff_plain;h=68d9297819bf41df8d859e6e83c042184492e4ca magic quotes not needed in 7.0 --- diff --git a/HTML/FlexyFramework.php b/HTML/FlexyFramework.php index c9995827..94475d58 100755 --- a/HTML/FlexyFramework.php +++ b/HTML/FlexyFramework.php @@ -853,7 +853,7 @@ RewriteRule ^(.+)$ /web.hpasite/index.local.php [L,NC,E=URL:$1] /* have I been initialized */ - if (get_magic_quotes_gpc() && !$this->cli) { + if (version_compare(PHP_VERSION, '7.0.0') < 0 && get_magic_quotes_gpc() && !$this->cli) { $this->fatalError( "magic quotes is enabled add the line
php_value magic_quotes_gpc 0