projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30d8e3f
)
magic quotes not needed in 7.0
author
Alan Knowles
<alan@roojs.com>
Thu, 14 May 2020 08:25:41 +0000
(16:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 May 2020 08:25:41 +0000
(16:25 +0800)
HTML/FlexyFramework.php
patch
|
blob
|
history
diff --git
a/HTML/FlexyFramework.php
b/HTML/FlexyFramework.php
index
c999582
..
94475d5
100755
(executable)
--- 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<BR>
php_value magic_quotes_gpc 0<BR>