Changeset 894 in svn for trunk/xcache.c


Ignore:
Timestamp:
2012-04-19T06:08:23Z (3 years ago)
Author:
Xuefer
Message:

adds xcache.admin.enable_auth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r888 r894  
    25312531    HashTable *ht;
    25322532
     2533    /* auth disabled, nothing to do.. */
     2534    if (!XG(auth_enabled)) {
     2535        return 1;
     2536    }
     2537
    25332538    if (cfg_get_string("xcache.admin.user", &admin_user) == FAILURE || !admin_user[0]) {
    25342539        admin_user = NULL;
     
    34363441    STD_PHP_INI_BOOLEAN("xcache.cacher",                 "1", PHP_INI_ALL,    OnUpdateBool,        cacher,            zend_xcache_globals, xcache_globals)
    34373442    STD_PHP_INI_BOOLEAN("xcache.stat",                   "1", PHP_INI_ALL,    OnUpdateBool,        stat,              zend_xcache_globals, xcache_globals)
     3443    STD_PHP_INI_BOOLEAN("xcache.admin.enable_auth",      "1", PHP_INI_SYSTEM, OnUpdateBool,        auth_enabled,      zend_xcache_globals, xcache_globals)
    34383444    STD_PHP_INI_BOOLEAN("xcache.experimental",           "0", PHP_INI_ALL,    OnUpdateBool,        experimental,      zend_xcache_globals, xcache_globals)
    34393445#ifdef HAVE_XCACHE_OPTIMIZER
Note: See TracChangeset for help on using the changeset viewer.