use xcache.admin.auth instead of xcache.auth, updated NEWS, ini files
git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.2@368 c26eb9a1-5813-0410-bd6c-c2e55f420ca71.2
parent
44428eed6d
commit
c0cec2b9a5
4
NEWS
4
NEWS
|
@ -1,5 +1,9 @@
|
|||
1.2.1 2007-?-?
|
||||
== NEWS ==
|
||||
|
||||
== Ini Settings Changes ==
|
||||
* new: xcache.admin.auth = On
|
||||
|
||||
== ChangeLog ==
|
||||
* fixed #56: xcache_set segfaults when xcache.var_size=0
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ zend_extension_ts = c:/php/extensions/php_xcache.dll
|
|||
; extension = php_xcache.dll
|
||||
|
||||
[xcache.admin]
|
||||
xcache.admin.auth = On
|
||||
xcache.admin.user = "mOo"
|
||||
; xcache.admin.pass = md5($您的密码)
|
||||
xcache.admin.pass = ""
|
||||
|
|
2
xcache.c
2
xcache.c
|
@ -2339,7 +2339,7 @@ PHP_INI_BEGIN()
|
|||
|
||||
STD_PHP_INI_BOOLEAN("xcache.cacher", "1", PHP_INI_ALL, OnUpdateBool, cacher, zend_xcache_globals, xcache_globals)
|
||||
STD_PHP_INI_BOOLEAN("xcache.stat", "1", PHP_INI_ALL, OnUpdateBool, stat, zend_xcache_globals, xcache_globals)
|
||||
STD_PHP_INI_BOOLEAN("xcache.enable_auth", "1", PHP_INI_SYSTEM, OnUpdateBool, auth_enabled, zend_xcache_globals, xcache_globals)
|
||||
STD_PHP_INI_BOOLEAN("xcache.admin.enable_auth", "1", PHP_INI_SYSTEM, OnUpdateBool, auth_enabled, zend_xcache_globals, xcache_globals)
|
||||
#ifdef HAVE_XCACHE_OPTIMIZER
|
||||
STD_PHP_INI_BOOLEAN("xcache.optimizer", "0", PHP_INI_ALL, OnUpdateBool, optimizer, zend_xcache_globals, xcache_globals)
|
||||
#endif
|
||||
|
|
|
@ -10,6 +10,7 @@ zend_extension_ts = c:/php/extensions/php_xcache.dll
|
|||
; extension = php_xcache.dll
|
||||
|
||||
[xcache.admin]
|
||||
xcache.admin.auth = On
|
||||
xcache.admin.user = "mOo"
|
||||
; xcache.admin.pass = md5($your_password)
|
||||
xcache.admin.pass = ""
|
||||
|
|
Loading…
Reference in New Issue