summaryrefslogtreecommitdiffstats
path: root/php-eaccelerator-cache.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-eaccelerator-cache.patch')
-rw-r--r--php-eaccelerator-cache.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/php-eaccelerator-cache.patch b/php-eaccelerator-cache.patch
index c0358a8..18de83d 100644
--- a/php-eaccelerator-cache.patch
+++ b/php-eaccelerator-cache.patch
@@ -1,5 +1,5 @@
--- eaccelerator.c.cache 2012-09-09 11:49:26.000000000 +0200
-+++ eaccelerator.c 2012-09-09 13:07:04.000000000 +0200
++++ eaccelerator.c 2012-09-09 15:44:28.000000000 +0200
@@ -1521,13 +1521,13 @@
ZEND_INI_ENTRY1("eaccelerator.shm_ttl", "0", PHP_INI_SYSTEM, eaccelerator_OnUpdateLong, &ea_shm_ttl)
ZEND_INI_ENTRY1("eaccelerator.shm_prune_period", "0", PHP_INI_SYSTEM, eaccelerator_OnUpdateLong, &ea_shm_prune_period)
@@ -7,7 +7,8 @@
-STD_PHP_INI_ENTRY("eaccelerator.log_file", "", PHP_INI_SYSTEM, OnUpdateString, ea_log_file, zend_eaccelerator_globals, eaccelerator_globals)
+STD_PHP_INI_ENTRY("eaccelerator.log_file", "", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateString, ea_log_file, zend_eaccelerator_globals, eaccelerator_globals)
STD_PHP_INI_ENTRY("eaccelerator.check_mtime", "1", PHP_INI_SYSTEM, OnUpdateBool, check_mtime_enabled, zend_eaccelerator_globals, eaccelerator_globals)
- ZEND_INI_ENTRY1("eaccelerator.shm_only", "0", PHP_INI_SYSTEM, eaccelerator_OnUpdateBool, &ea_scripts_shm_only)
+-ZEND_INI_ENTRY1("eaccelerator.shm_only", "0", PHP_INI_SYSTEM, eaccelerator_OnUpdateBool, &ea_scripts_shm_only)
++ZEND_INI_ENTRY1("eaccelerator.shm_only", "0", PHP_INI_SYSTEM|PHP_INI_PERDIR, eaccelerator_OnUpdateBool, &ea_scripts_shm_only)
#ifdef WITH_EACCELERATOR_INFO
STD_PHP_INI_ENTRY("eaccelerator.allowed_admin_path", "", PHP_INI_SYSTEM, OnUpdateString, allowed_admin_path, zend_eaccelerator_globals, eaccelerator_globals)
#endif