Changeset 6fbbefb in git


Ignore:
Timestamp:
2012-03-23T07:58:35Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
eb52f93
Parents:
5cafdce
Message:

avoid zend_alter_ini_entry which is execute time

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@827 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r79015d6 r6fbbefb  
    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.