Ignore:
Timestamp:
Sep 11, 2012, 3:27:24 PM (12 years ago)
Author:
grum
Message:

version 0.1.0b
. fix bug on thumb view
. fix SQLite compression managment & 'compress.method' config
. manage number of items per page by config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/EStat/estat_ajax.php

    r17760 r17862  
    443443        $monthStatFile->close();
    444444
    445         // if imported data are from a previous period, pack it
    446         if($nbLogs<self::MAX_LOAD_LOG and $period!=date('Y-m'))
    447         {
    448           /*if($monthStatFile->pack()===true)
    449             $monthStatFile->delete(ASDF_DELETE_UNPACKED);*/
     445        // if imported data are from a previous period and compression method is set, pack it
     446        if($nbLogs<self::MAX_LOAD_LOG and $period!=date('Y-m') and $this->config['compress.method']=='gz')
     447        {
     448          if($monthStatFile->pack()===true)
     449            $monthStatFile->delete(ASDF_DELETE_UNPACKED);
    450450        }
    451451      }
Note: See TracChangeset for help on using the changeset viewer.