Browse Source

update name for php info

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1043 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
f653cdb6ea
  1. 3
      mod_cacher/xc_cacher.c
  2. 4
      mod_coverager/xc_coverager.c
  3. 4
      mod_disassembler/xc_disassembler.c
  4. 4
      mod_optimizer/xc_optimizer.c

3
mod_cacher/xc_cacher.c

@ -3109,6 +3109,7 @@ static PHP_MINFO_FUNCTION(xcache_cacher) /* {{{ */
xc_shm_scheme_t *scheme;
php_info_print_table_start();
php_info_print_table_row(2, "XCache Cacher Module", "enabled");
php_info_print_table_row(2, "Readonly Protection", xc_readonly_protection ? "enabled" : "disabled");
#ifdef ZEND_ENGINE_2_1
ptr = php_format_date("Y-m-d H:i:s", sizeof("Y-m-d H:i:s") - 1, xc_init_time, 1 TSRMLS_CC);
@ -3300,7 +3301,7 @@ static ZEND_MODULE_POST_ZEND_DEACTIVATE_D(xcache_cacher)
/* }}} */
static zend_module_entry xcache_cacher_module_entry = { /* {{{ */
STANDARD_MODULE_HEADER,
XCACHE_NAME "_Cacher",
XCACHE_NAME " Cacher",
xcache_cacher_functions,
PHP_MINIT(xcache_cacher),
PHP_MSHUTDOWN(xcache_cacher),

4
mod_coverager/xc_coverager.c

@ -638,7 +638,7 @@ static PHP_MINFO_FUNCTION(xcache_coverager) /* {{{ */
char *covdumpdir;
php_info_print_table_start();
php_info_print_table_row(2, "XCache Coverager Version", XCACHE_VERSION);
php_info_print_table_row(2, "XCache Coverager Module", "enabled");
if (cfg_get_string("xcache.coveragedump_directory", &covdumpdir) != SUCCESS || !covdumpdir[0]) {
covdumpdir = NULL;
}
@ -690,7 +690,7 @@ static PHP_MSHUTDOWN_FUNCTION(xcache_coverager) /* {{{ */
static zend_module_entry xcache_coverager_module_entry = { /* {{{ */
STANDARD_MODULE_HEADER,
XCACHE_NAME "_Coverager",
XCACHE_NAME " Coverager",
xcache_coverager_functions,
PHP_MINIT(xcache_coverager),
PHP_MSHUTDOWN(xcache_coverager),

4
mod_disassembler/xc_disassembler.c

@ -224,7 +224,7 @@ PHP_FUNCTION(xcache_dasm_string)
static PHP_MINFO_FUNCTION(xcache_disassembler)
{
php_info_print_table_start();
php_info_print_table_row(2, "XCache Disassembler Version", XCACHE_VERSION);
php_info_print_table_row(2, "XCache Disassembler Module", "enabled");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
@ -239,7 +239,7 @@ static zend_function_entry xcache_disassembler_functions[] = /* {{{ */
/* }}} */
static zend_module_entry xcache_disassembler_module_entry = { /* {{{ */
STANDARD_MODULE_HEADER,
XCACHE_NAME "_Disassembler",
XCACHE_NAME " Disassembler",
xcache_disassembler_functions,
NULL,
NULL,

4
mod_optimizer/xc_optimizer.c

@ -657,7 +657,7 @@ PHP_INI_END()
static PHP_MINFO_FUNCTION(xcache_optimizer) /* {{{ */
{
php_info_print_table_start();
php_info_print_table_row(2, "XCache Optimizer Version", XCACHE_VERSION);
php_info_print_table_row(2, "XCache Optimizer Module", "enabled");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
@ -677,7 +677,7 @@ static PHP_MSHUTDOWN_FUNCTION(xcache_optimizer) /* {{{ */
/* }}} */
static zend_module_entry xcache_optimizer_module_entry = { /* {{{ */
STANDARD_MODULE_HEADER,
XCACHE_NAME "_Optimizer",
XCACHE_NAME " Optimizer",
NULL,
PHP_MINIT(xcache_optimizer),
PHP_MSHUTDOWN(xcache_optimizer),

Loading…
Cancel
Save