summaryrefslogtreecommitdiff
path: root/ext/opcache/zend_file_cache.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-06-21 10:06:35 +0300
committerDmitry Stogov <dmitry@zend.com>2019-06-21 10:06:35 +0300
commit1707f6645a2f80fd529c9f987317b73ae94dba93 (patch)
tree880b1e7e34d3fdc1699821e04c839e3814b3236a /ext/opcache/zend_file_cache.c
parent7469d572f287bdd899b7214825958f1c28e33a4b (diff)
downloadphp-git-1707f6645a2f80fd529c9f987317b73ae94dba93.tar.gz
Additional fix for bug #78185 (File cache no longer works)
Diffstat (limited to 'ext/opcache/zend_file_cache.c')
-rw-r--r--ext/opcache/zend_file_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c
index 0e4d7748c9..4079c8bf1c 100644
--- a/ext/opcache/zend_file_cache.c
+++ b/ext/opcache/zend_file_cache.c
@@ -903,7 +903,7 @@ int zend_file_cache_script_store(zend_persistent_script *script, int in_shm)
#ifdef HAVE_JIT
/* FIXME: dump jited codes out to file cache? */
- if (ZCG(accel_directives).jit) {
+ if (ZCG(jit_enabled)) {
return FAILURE;
}
#endif