diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-11-12 02:02:24 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-11-12 02:02:24 +0300 |
commit | 09aa68b2944430ee367a724cc865501d8c4b85b6 (patch) | |
tree | 142fdbd06b2f14379017cefbe1c4af3da13b6fe4 /ext/opcache/zend_accelerator_module.c | |
parent | d1077f7a897d9267a0cad3d64663fd952dd1c6b2 (diff) | |
download | php-git-09aa68b2944430ee367a724cc865501d8c4b85b6.tar.gz |
Break dependency between opcache and optimizer. Remove copatibility macros.
Diffstat (limited to 'ext/opcache/zend_accelerator_module.c')
-rw-r--r-- | ext/opcache/zend_accelerator_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index f65e270000..8514e2b391 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -545,7 +545,7 @@ static int accelerator_get_scripts(zval *return_value) script = (zend_persistent_script *)cache_entry->data; array_init(&persistent_script_report); - add_assoc_str(&persistent_script_report, "full_path", zend_string_dup(script->full_path, 0)); + add_assoc_str(&persistent_script_report, "full_path", zend_string_dup(script->script.filename, 0)); add_assoc_long(&persistent_script_report, "hits", (zend_long)script->dynamic_members.hits); add_assoc_long(&persistent_script_report, "memory_consumption", script->dynamic_members.memory_consumption); ta = localtime(&script->dynamic_members.last_used); |