Changeset 827 for trunk/xcache.c


Ignore:
Timestamp:
2012-03-23T08:58:35+01:00 (3 years ago)
Author:
moo
Message:

avoid zend_alter_ini_entry which is execute time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r798 r827  
    35273527    if (strcmp(sapi_module.name, "cli") == 0) { 
    35283528        if ((env = getenv("XCACHE_TEST")) != NULL) { 
    3529             zend_alter_ini_entry("xcache.test", sizeof("xcache.test"), env, strlen(env) + 1, PHP_INI_SYSTEM, PHP_INI_STAGE_STARTUP); 
     3529            xc_test = atoi(env); 
    35303530        } 
    35313531        if (!xc_test) { 
Note: See TracChangeset for help on using the changeset viewer.