diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-11-16 12:43:10 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-11-16 12:43:10 +0300 |
commit | ecba563f2fa1e027ea91b9ee0d50611273852995 (patch) | |
tree | 23587aa7c344c5ea278c9b7ce61293599fe6f56d /ext/opcache/zend_accelerator_module.c | |
parent | e922d89f667a228e440ef089ba4a81a7eb817816 (diff) | |
download | php-git-ecba563f2fa1e027ea91b9ee0d50611273852995.tar.gz |
Fixed bug #69090 (check cached files permissions)
Diffstat (limited to 'ext/opcache/zend_accelerator_module.c')
-rw-r--r-- | ext/opcache/zend_accelerator_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index 5671f2f588..0faa91500f 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -255,6 +255,8 @@ ZEND_INI_BEGIN() STD_PHP_INI_BOOLEAN("opcache.enable" , "1", PHP_INI_ALL, OnEnable, enabled , zend_accel_globals, accel_globals) STD_PHP_INI_BOOLEAN("opcache.use_cwd" , "1", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.use_cwd , zend_accel_globals, accel_globals) STD_PHP_INI_BOOLEAN("opcache.validate_timestamps", "1", PHP_INI_ALL , OnUpdateBool, accel_directives.validate_timestamps, zend_accel_globals, accel_globals) + STD_PHP_INI_BOOLEAN("opcache.validate_permission", "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_permission, zend_accel_globals, accel_globals) + STD_PHP_INI_BOOLEAN("opcache.validate_root" , "0", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.validate_root , zend_accel_globals, accel_globals) STD_PHP_INI_BOOLEAN("opcache.inherited_hack" , "1", PHP_INI_SYSTEM, OnUpdateBool, accel_directives.inherited_hack , zend_accel_globals, accel_globals) STD_PHP_INI_BOOLEAN("opcache.dups_fix" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.ignore_dups , zend_accel_globals, accel_globals) STD_PHP_INI_BOOLEAN("opcache.revalidate_path" , "0", PHP_INI_ALL , OnUpdateBool, accel_directives.revalidate_path , zend_accel_globals, accel_globals) @@ -663,6 +665,8 @@ static ZEND_FUNCTION(opcache_get_configuration) add_assoc_bool(directives, "opcache.enable_cli", ZCG(accel_directives).enable_cli); add_assoc_bool(directives, "opcache.use_cwd", ZCG(accel_directives).use_cwd); add_assoc_bool(directives, "opcache.validate_timestamps", ZCG(accel_directives).validate_timestamps); + add_assoc_bool(directives, "opcache.validate_permission", ZCG(accel_directives).validate_permission); + add_assoc_bool(directives, "opcache.validate_root", ZCG(accel_directives).validate_root); add_assoc_bool(directives, "opcache.inherited_hack", ZCG(accel_directives).inherited_hack); add_assoc_bool(directives, "opcache.dups_fix", ZCG(accel_directives).ignore_dups); add_assoc_bool(directives, "opcache.revalidate_path", ZCG(accel_directives).revalidate_path); |