Commit 0f49c4f1 authored by Patrick Barroca's avatar Patrick Barroca 😁
Browse files

php7 compatibility

parent 5282218c
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment