Changeset 570 for trunk/xcache.c
- Timestamp:
- 2008-08-20T16:38:45+02:00 (5 years ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r559 r570 3053 3053 REGISTER_INI_ENTRIES(); 3054 3054 3055 xc_config_long(&xc_php_size, "xcache.size", "0"); 3056 xc_config_hash(&xc_php_hcache, "xcache.count", "1"); 3057 xc_config_hash(&xc_php_hentry, "xcache.slots", "8K"); 3058 3059 xc_config_long(&xc_var_size, "xcache.var_size", "0"); 3060 xc_config_hash(&xc_var_hcache, "xcache.var_count", "1"); 3061 xc_config_hash(&xc_var_hentry, "xcache.var_slots", "8K"); 3062 3055 3063 if (strcmp(sapi_module.name, "cli") == 0) { 3056 3064 if ((env = getenv("XCACHE_TEST")) != NULL) { … … 3058 3066 } 3059 3067 if (!xc_test) { 3060 /* disable cache for cli except for test */3068 /* disable cache for cli except for testing */ 3061 3069 xc_php_size = xc_var_size = 0; 3062 3070 } 3063 3071 } 3064 3065 xc_config_long(&xc_php_size, "xcache.size", "0");3066 xc_config_hash(&xc_php_hcache, "xcache.count", "1");3067 xc_config_hash(&xc_php_hentry, "xcache.slots", "8K");3068 3069 xc_config_long(&xc_var_size, "xcache.var_size", "0");3070 xc_config_hash(&xc_var_hcache, "xcache.var_count", "1");3071 xc_config_hash(&xc_var_hentry, "xcache.var_slots", "8K");3072 3072 3073 3073 if (xc_php_size <= 0) {
Note: See TracChangeset
for help on using the changeset viewer.

