1
0
Fork 0

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-c2e55f420ca7
1.2
Xuefer 2007-04-22 02:38:20 +00:00
parent 44428eed6d
commit c0cec2b9a5
4 changed files with 7 additions and 1 deletions

4
NEWS
View File

@ -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

View File

@ -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 = ""

View File

@ -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

View File

@ -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 = ""