show hash value in admin
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@360 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
7d409960c9
commit
f4688ad313
|
@ -58,6 +58,8 @@ $strings = array(
|
|||
=> '设备',
|
||||
'inode'
|
||||
=> 'Inode',
|
||||
'hash'
|
||||
=> 'Hash',
|
||||
'Access'
|
||||
=> '访问',
|
||||
'Create'
|
||||
|
|
|
@ -58,6 +58,8 @@ $strings = array(
|
|||
=> '設備',
|
||||
'inode'
|
||||
=> 'Inode',
|
||||
'hash'
|
||||
=> 'Hash',
|
||||
'Access'
|
||||
=> '存取',
|
||||
'Create'
|
||||
|
|
|
@ -178,6 +178,7 @@ if ($cachelist) {
|
|||
<th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('inode'); ?></a></th>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('hash'); ?></a></th>
|
||||
<th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Access'); ?></a></th>
|
||||
<th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Create'); ?></a></th>
|
||||
<?php if ($listname == 'Deleted') { ?>
|
||||
|
@ -227,6 +228,7 @@ ENTRY;
|
|||
}
|
||||
}
|
||||
echo <<<ENTRY
|
||||
<td int="{$entry['hvalue']}">{$entry['hvalue']}</td>
|
||||
<td int="{$entry['atime']}">{$atime}</td>
|
||||
<td int="{$entry['ctime']}">{$ctime}</td>
|
||||
ENTRY;
|
||||
|
|
1
xcache.c
1
xcache.c
|
@ -510,6 +510,7 @@ static void xc_fillentry_dmz(xc_entry_t *entry, int del, zval *list TSRMLS_DC) /
|
|||
add_assoc_long_ex(ei, ZEND_STRS("hits"), entry->hits);
|
||||
add_assoc_long_ex(ei, ZEND_STRS("ctime"), entry->ctime);
|
||||
add_assoc_long_ex(ei, ZEND_STRS("atime"), entry->atime);
|
||||
add_assoc_long_ex(ei, ZEND_STRS("hvalue"), entry->hvalue);
|
||||
if (del) {
|
||||
add_assoc_long_ex(ei, ZEND_STRS("dtime"), entry->dtime);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue