Ejemplo n.º 1
0
 protected function _checkLogOverwrite()
 {
     switch ($this->_logRotate) {
         case self::ROTATE_PER_MONTH:
             $now = new \MUtil_Date();
             $now->subMonth(10);
             break;
         case self::ROTATE_PER_MONTH:
             $now = new \MUtil_Date();
             $now->subWeek(50)->subDay(1);
             break;
         default:
             return;
     }
     $fileTime = new \MUtil_Date(filectime($this->_logFileName));
     if ($fileTime) {
     }
 }