Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
afi
zf
Commits
0f49c4f1
Commit
0f49c4f1
authored
Feb 03, 2016
by
Patrick Barroca
😁
Browse files
php7 compatibility
parent
5282218c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
library/Zend/Cache/Backend/File.php
library/Zend/Cache/Backend/File.php
+2
-1
No files found.
library/Zend/Cache/Backend/File.php
View file @
0f49c4f1
...
...
@@ -659,7 +659,8 @@ class Zend_Cache_Backend_File extends Zend_Cache_Backend implements Zend_Cache_B
if
(
!
is_file
(
$file
))
{
return
false
;
}
if
(
function_exists
(
'get_magic_quotes_runtime'
))
{
if
(
function_exists
(
'get_magic_quotes_runtime'
)
&&
function_exists
(
'set_magic_quotes_runtime'
))
{
$mqr
=
@
get_magic_quotes_runtime
();
@
set_magic_quotes_runtime
(
0
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment