mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fixed bug #78185 (File cache no longer works)
This commit is contained in:
commit
05c8f1ff2e
1 changed files with 5 additions and 0 deletions
|
@ -1892,6 +1892,11 @@ zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type)
|
|||
/* The Accelerator is disabled, act as if without the Accelerator */
|
||||
ZCG(cache_opline) = NULL;
|
||||
ZCG(cache_persistent_script) = NULL;
|
||||
if (file_handle->filename
|
||||
&& ZCG(accel_directives).file_cache
|
||||
&& ZCG(enabled) && accel_startup_ok) {
|
||||
return file_cache_compile_file(file_handle, type);
|
||||
}
|
||||
return accelerator_orig_compile_file(file_handle, type);
|
||||
} else if (file_cache_only) {
|
||||
ZCG(cache_opline) = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue