Ignore:
Timestamp:
2012-03-27T18:07:50+02:00 (2 years ago)
Author:
moo
Message:

more readability cache property. reduce memory footprint for data caching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/xcache.tpl.php

    r689 r851  
    212212            $size     = size($entry['size']); 
    213213            if ($isphp) { 
    214                 $sourcesize  = size($entry['sourcesize']); 
     214                $file_size   = size($entry['file_size']); 
    215215                $phprefcount = number_format($entry['phprefcount']); 
    216216            } 
     
    246246                echo <<<ENTRY 
    247247                <td int="{$entry['phprefcount']}">{$phprefcount}</td> 
    248                 <td int="{$entry['sourcesize']}">{$sourcesize}</td> 
     248                <td int="{$entry['file_size']}">{$file_size}</td> 
    249249                <td int="{$entry['mtime']}">{$mtime}</td> 
    250250ENTRY; 
    251                 if (isset($entry['inode'])) { 
     251                if (isset($entry['file_inode'])) { 
    252252                    echo <<<ENTRY 
    253                     <td int="{$entry['device']}">{$entry['device']}</td> 
    254                     <td int="{$entry['inode']}">{$entry['inode']}</td> 
     253                    <td int="{$entry['file_device']}">{$entry['file_device']}</td> 
     254                    <td int="{$entry['file_inode']}">{$entry['file_inode']}</td> 
    255255ENTRY; 
    256256                } 
Note: See TracChangeset for help on using the changeset viewer.